[maplab-users] MapLab Problems

Ugan ugan at dataworld.co.za
Tue May 11 06:16:21 EDT 2004


Hey List!

 

I just installed Maplab-2.1-rc3 and all its pre requisites (according to
the Install file) and while following the tutorial I've come across a
few problems. Could someone please help me:

 

1.	MapEdit - (when adding a class object), I don't have a Symbol
parameter field or symbol picker.
2.	The Color Picker window opens but only the background color is
shown (i.e. no objects @ all!).
3.	The Shape File attribute picker has the same problem.

 

 

1.	MapBrowser - I can't connect to the GMap WMS Demo Server (I get
errors) and only a blank icon with no plus sign appears in the Data
Stores section of MapBrowser. I can however successfully connect to the
other default servers offered.

 

1.   GMapFactory - After I open a project up I get the following errors
on the left (above the Layout Elements window):

 

Warning: [MapServer Error]: msLoadMap():
(C:/.msapps/maplab-2.1-rc3/tutorial/tutorial.map) in
C:\msapps\maplab-2.1-rc3\htdocs\gmapfactory\build_phtml.php on line 1284

Warning: Failed to open map file
C:/.msapps/maplab-2.1-rc3/tutorial/tutorial.map in
C:\msapps\maplab-2.1-rc3\htdocs\gmapfactory\build_phtml.php on line 1284



 

And I get the following PHP and HTML code in the main window:

 

<?php
 
// include the supporting php routines 
include_once( "./mymap.php" );
?>
<html>
<head>
<title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
/**
 * This function runs after the form is done loading
 **/
function doneLoading()
{
    // show the query results page if query
    if ( document.main.QueryString.value != "" )
    {
        // complete the string
        document.main.QueryString.value = "?PrevStateKey=" +
document.main.PrevStateKey.value + "&INPUT_COORD=" +
document.main.INPUT_COORD.value;
 
        // calculate the center
        if (document.all)
            var xMax = screen.width, yMax = screen.height;
        else if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 640, yMax=480;
 
        var xOffset = (xMax - 510)/2, yOffset = (yMax - 390)/2;
 
        // load the processing page
        mapquery = window.open('query.phtml' +
document.main.QueryString.value,'mapquery','scrollbars=yes,resizable=yes
,width=510,height=390,screenX='+xOffset+',screenY='+yOffset+',top='+yOff
set+',left='+xOffset+'');
 
        // give it focus
        mapquery.focus();
 
    }
 
    // exit
    return;
}
</script>
</head>
<body onload="javascript:doneLoading()" bgcolor="ffffff">
<form name="main">
<!-------------------------------------->
<!-- !!!DO NOT MODIFY THIS SECTION!!! -->
<!-------------------------------------->
<?php include_once( "./mymap_contents.php" ); ?>
<!-------------------------------------->
<!-------------------------------------->
</form>
</body>
</html>

 

 

 

What's going on? ANY help will be so greatly appreciated! Thanks alot!

 

Ugan Nair

 

Top of Form

Bottom of Form

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040511/7433872c/attachment.htm


More information about the Maplab-users mailing list