On 9/27/2013 9:16 AM, tday wrote:
Changing to:

GEOMTRANSFORM (buffer([shape], 0.0)

...has the same error result.


There are a total of 5 mapserver calls to load the web page (I'm using
leaflet in the browser). The error occurs on the very first call to
mapserver from an ajax request which is requesting the un-buffered parcel
layer (not the one with the GEOMTRANFORM option). The GET request URL is:

http://wfsd.visualapms.com/wfs.php?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=parcels&SRSNAME=EPSG:4269&OUTPUTFORMAT=json&FILTER=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3EPARCEL_ID%3C/PropertyName%3E%3CLiteral%3E700008517%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E

This is actually calling a PHP script, so you might need to look at this to figure out what is actually getting passed to mapserver or if this is a mapscript program in which case you may need to debug that to see what is happening. It might just be hiding the mapfile parameter.

...and this is returned to the browser...

"NetworkError: 500 Internal Server Error -
http://wfsd.visualapms.com/wfs.php?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=parcels&SRSNAME=EPSG:4269&OUTPUTFORMAT=json&FILTER=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3EPARCEL_ID%3C/PropertyName%3E%3CLiteral%3E700008517%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E";

You could test the url yourself.


I get no response back from the above URL which might be interpreted as a timeout and hence a server error.

When debugging the ajax response, the 8102 is the line number in jQuery
1.7.1 core. Not sure why jquery is coughing there, but the request object
and error are returned to the ajax error function.

I have not used shp2img before, I'll need to research to give you an answer
for that.

Ok it might be easier to do this:

/pat/to/mapserv QUERY_STRING='map=/path/to/mapfile.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=parcels&SRSNAME=EPSG:4269&OUTPUTFORMAT=json&FILTER=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3EPARCEL_ID%3C/PropertyName%3E%3CLiteral%3E700008517%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E'

and see what this reports.

-Steve W

I'll see if I can get the data in shapefile format which will require some
work with the server admin.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269p5080554.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to