[Geomoose-users] Web Marcator demo, identify and pop up issues

Nayna Nayate nayna.nayate at gis.leg.mn
Mon Apr 12 15:15:29 EDT 2010


I am trying to get the parcel data demo to work in the Web Mercator mapbook.xml. I was able to get it to work in the original mapbook.xml after changing to the full path instead of ./demo/landrecords/parcels.map in the mapbook.xml

<map-source name="parcels" type="mapserver">
                                <file>/web/gis/geomoose/maps/demo/landrecords/parcels.map</file>
                                <layer name="parcels"/>
</map-source>


When I select the pop-up option for the parcels, I get the following errors.

Warning: getLayerByName failed for : parcels in /web/gis/geomoose/htdocs/php/popups.php on line 62

Fatal error: Call to a member function set() on a non-object in /web/gis/geomoose/htdocs/php/popups.php on line 67

The mapbook code for parcels.map is, where the full path is being referred to

<map-source name="parcels" type="wms" projection="EPSG:26915" >
                                <url>/cgi-bin/mapserv</url>
                                <layer name="parcels"/>
                                <param name="map" value="/web/gis/geomoose/maps/demo/landrecords/parcels.map"/>
                                <param name="format" value="image/png"/>
                                <param name="TRANSPARENT" value="TRUE"/>
                </map-source>




Similarly with identify, I see the coordinates, but none of the info from the idenfy_parcels.html template and sometime and the following error.

Fatal error: [MapServer Error]: msGEOSShapeFromWKT(): Error reading WKT geometry "POLYGON((-10369433.897517 5556128.3371359,-10369433.897517 5556128.3371359))". in /web/gis/geomoose/htdocs/php/identify.php on line 83

 I haven't changed anything in the parcel.map file that is part of the demo.

I can provide more information if needed. Any insights on why the pop-up and identify tools aren't working?


Thanks
Nayna

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20100412/f6936c41/attachment.html


More information about the Geomoose-users mailing list