[mapserver-users] GEOMTRANSFORM definition causing an error

Fawcett, David (MNIT) David.Fawcett at state.mn.us
Fri Sep 27 06:46:47 PDT 2013


If the GDAL on your system is compiled with Oracle support, you could use ogr2ogr to create a shapefile copy of your data from Oracle.  http://www.gdal.org/ogr2ogr.html

If you want to do it with a GUI, you could probably use the QGIS.  I believe that QGIS 2.0 now has Oracle Spatial support out of the box.

David.

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of tday
Sent: Friday, September 27, 2013 8:16 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] GEOMTRANSFORM definition causing an error

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

...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.

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.

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 at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list