[mapserver-users] Mapserver version does not change the version on the browser
I have been using MS4W Mapserver 4 Windows- version 3.0.6 and I downloaded ms4w 6.2.0-beta4 and extracted it to the same folder over riding the old version amd went too mapserver-v and setenv and run them as an administrator install and restart the server but I still get the old version Can you assist me me -- Best Regards Solly Vuso ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] tinyows and postgresql schemas
Hi all, I am testing tinyows in OSGeo Live 7 and get errors when I use a schema different at public. I use a simple XML file for configure tinyows and I started usig the default schema public with success (I created my own database and my table in public schema), but when I move this table to a new schema, tinyows show this error /usr/lib/cgi-bin/tinyows --check NOTICE: Function postgis_topology_scripts_installed() not found. Is topology support enabled and topology.sql installed? Content-Type: application/xml ?xml version='1.0' encoding='UTF-8'? ows:ExceptionReport xmlns='http://www.opengis.net/ows' xmlns:ows='http://www.opengis.net/ows' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd' version='1.1.0' language='en' ows:Exception exceptionCode='RequestSqlFailed' locator='pkey_sequence retrieve' ows:ExceptionTextUnable to use pg_get_serial_sequence./ows:ExceptionText /ows:Exception /ows:ExceptionReport It is not a database permission problem (the user is superuser) and when I move the same table to public schema (with pgAdmin) tinyows connect successfully. Here my tinyows configuration file: tinyows online_resource=http://127.0.0.1/cgi-bin/tinyows; schema_dir=/usr/share/tinyows/schema/ pg host=127.0.0.1 user=user password=user dbname=Inventari port=5432/ metadata name=TinyOWS Server title=TinyOWS Server - Demo Service / layer name=Accesos title=Accesos ns_prefix=Tgn ns_uri=http://www.tinyows.org; table=Accesos schema=Tgn retrievable=1 writable=1 /layer /tinyows How can I connect to a table in a schema different to public? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] fcgi causes : unable to access mapfile
Hi, I’m running MapServer 6.2 (beta4, ms4w) under Windows server 2008 R2. I got a strange error when activating and using the FCGI mode. When the windows service “*Apache/2.2.22 (Win32) mod_fcgid/2.3.7*” starts, all map requests respond OK, using both CGI and FCGI modes. http://server/fcgi-bin/mapserv.exe?MAP=/ms4w/apps/gmap/htdocs/mapfile.map ... http://server/cgi-bin/mapserv.exe?MAP=/ms4w/apps/gmap/htdocs/mapfile.map;... But after a while, the same requests return an error msg when the FCGI mode is used : *msLoadMap(): Unable to access file. (/ms4w/apps/gmap/htdocs/mapfile.map)* while the same request using the CGI mode still returns correct maps !! Does anyone has any idea about what’s going wrong ? Thanks a lot for your help Clement ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapServer OpenGL support?
Dear list, I came across this RFC: http://mapserver.org/development/rfc/ms-rfc-50.html suggesting MapServer supports OpenGL rendering. However, I can't really find any documentation about it (For example, I would expect it to be described in the MAPFILE reference). Any insights? Thanks for sharing. Rob ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] GEOMTRANSFORM definition causing an error
Hello, I'm trying to implement a buffer layer using layer GEOMTRANSFORM. I am adding this line to the second LAYER definition in the following map file: GEOMTRANSFORM (buffer([shape], 150)) After adding this line, Mapserver throws an error: Mapserver response:undefined - Status:error - Error:[Exception... Failure nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: http://[domain obscured]/assets/a4f84659/jquery.js :: .send :: line 8102 data: no] The second layer is exactly the same as the first layer except for the GEOMTRANSFORM definition. Any ideas what the problem may be? Thanks! MAP NAMEobscured STATUS ON SIZE912 380 EXTENT -180 -90 180 90 UNITS FEET IMAGECOLOR 255 255 255 FONTSET /web/mapserver/fonts.list CONFIG MS_ERRORFILE stdout # CONFIG MS_ERRORFILE /web/mapserver/ms_error.txt DEBUG 5 OUTPUTFORMAT NAME json DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END OUTPUTFORMAT NAME geojson DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END # # Web Interface # WEB IMAGEPATH ../out/ IMAGEURL /out/ METADATA # obscured END END PROJECTION init=epsg:4269 END # # Layers # # # Parcels # LAYER NAME parcels METADATA wfs_title Parcels wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END # TOLERANCEUNITS feet # TOLERANCE 150 CLASS NAME Parcels STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END # # Buffered Parcels # LAYER NAME parcelbuffers METADATA wfs_title Parcel Buffers wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END # GEOMTRANSFORM (buffer([shape], 150)) CLASS NAME Parcel Buffers STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END END -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269.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
Re: [mapserver-users] GEOMTRANSFORM definition causing an error
I have no idea why you are getting an error about jquery, but is does look like you might be trying to apply a 150 degree buffer around your feature... I don't know what version you are using, but from this RFC, it appears as though LAYER-level geomtransforms use ground coordinates: http://mapserver.org/development/rfc/ms-rfc-89.html David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of tday Sent: Thursday, September 26, 2013 12:21 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] GEOMTRANSFORM definition causing an error Hello, I'm trying to implement a buffer layer using layer GEOMTRANSFORM. I am adding this line to the second LAYER definition in the following map file: GEOMTRANSFORM (buffer([shape], 150)) After adding this line, Mapserver throws an error: Mapserver response:undefined - Status:error - Error:[Exception... Failure nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: http://[domain obscured]/assets/a4f84659/jquery.js :: .send :: line 8102 data: no] The second layer is exactly the same as the first layer except for the GEOMTRANSFORM definition. Any ideas what the problem may be? Thanks! MAP NAMEobscured STATUS ON SIZE912 380 EXTENT -180 -90 180 90 UNITS FEET IMAGECOLOR 255 255 255 FONTSET /web/mapserver/fonts.list CONFIG MS_ERRORFILE stdout # CONFIG MS_ERRORFILE /web/mapserver/ms_error.txt DEBUG 5 OUTPUTFORMAT NAME json DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END OUTPUTFORMAT NAME geojson DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END # # Web Interface # WEB IMAGEPATH ../out/ IMAGEURL /out/ METADATA # obscured END END PROJECTION init=epsg:4269 END # # Layers # # # Parcels # LAYER NAME parcels METADATA wfs_title Parcels wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END # TOLERANCEUNITS feet # TOLERANCE 150 CLASS NAME Parcels STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END # # Buffered Parcels # LAYER NAME parcelbuffers METADATA wfs_title Parcel Buffers wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END # GEOMTRANSFORM (buffer([shape], 150)) CLASS NAME Parcel Buffers STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END END -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269.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
Re: [mapserver-users] GEOMTRANSFORM definition causing an error
So according to this: http://mapserver.org/development/rfc/ms-rfc-89.html Section 2.2 You GEOMTRANSFORM at the LAYER level is expecting your buffer value in ground units, do you really want to buffer your parcel by 150 degrees? Maybe you want to do something like Section 2.3? -Steve W On 9/26/2013 1:20 PM, tday wrote: Hello, I'm trying to implement a buffer layer using layer GEOMTRANSFORM. I am adding this line to the second LAYER definition in the following map file: GEOMTRANSFORM (buffer([shape], 150)) After adding this line, Mapserver throws an error: Mapserver response:undefined - Status:error - Error:[Exception... Failure nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: http://[domain obscured]/assets/a4f84659/jquery.js :: .send :: line 8102 data: no] The second layer is exactly the same as the first layer except for the GEOMTRANSFORM definition. Any ideas what the problem may be? Thanks! MAP NAMEobscured STATUS ON SIZE912 380 EXTENT -180 -90 180 90 UNITS FEET IMAGECOLOR 255 255 255 FONTSET /web/mapserver/fonts.list CONFIG MS_ERRORFILE stdout # CONFIG MS_ERRORFILE /web/mapserver/ms_error.txt DEBUG 5 OUTPUTFORMAT NAME json DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END OUTPUTFORMAT NAME geojson DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END # # Web Interface # WEB IMAGEPATH ../out/ IMAGEURL /out/ METADATA # obscured END END PROJECTION init=epsg:4269 END # # Layers # # # Parcels # LAYER NAME parcels METADATA wfs_title Parcels wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END # TOLERANCEUNITS feet # TOLERANCE 150 CLASS NAME Parcels STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END # # Buffered Parcels # LAYER NAME parcelbuffers METADATA wfs_title Parcel Buffers wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END # GEOMTRANSFORM (buffer([shape], 150)) CLASS NAME Parcel Buffers STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END END -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269.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
Re: [mapserver-users] GEOMTRANSFORM definition causing an error
I wish to create a 150 foot buffer and MAP UNITs are set to FEET. Are you implying that buffer units must be specified another way? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269p5080306.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
Re: [mapserver-users] Mapserver version does not change the version on the browser
Hi, I do not believe that mapserver -v would lie. Rename your current installation into ms4w_bak, install this partly hidden most recent MS4W version (announced only in the MS4W-users mailing list) from http://www.maptools.org/dl/ms4w/ms4w_3.1.0-beta1.zip and do mapserv -v. For me it shows C:\ms4w\Apache\cgi-binmapserv -v MapServer version 6.2.1 (MS4W 3.1.0-beta1) -Jukka Rahkonen- Solly Vuso wrote: I have been using MS4W Mapserver 4 Windows- version 3.0.6 and I downloaded ms4w 6.2.0-beta4 and extracted it to the same folder over riding the old version amd went too mapserver-v and setenv and run them as an administrator install and restart the server but I still get the old version Can you assist me me -- Best Regards Solly Vuso ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver version does not change the version on the browser
I have followed your instruction but its MS4W-Mapserver $ Windows Vesion 3.1.0 beta1 am not sure if i have the same file that you have ,to me its apache\cgi-bin\mapserv (8kb) application its not mapserv-v I extracted ms4w-6.2.0 beta 4 to version 3.1.0 beta 1 and run mapserv as an admin and also setenv , restart the serve and still shows 3.1.0 On Thu, Sep 26, 2013 at 7:58 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fiwrote: Hi, I do not believe that mapserver -v would lie. Rename your current installation into ms4w_bak, install this partly hidden most recent MS4W version (announced only in the MS4W-users mailing list) from http://www.maptools.org/dl/ms4w/ms4w_3.1.0-beta1.zip and do mapserv -v. For me it shows C:\ms4w\Apache\cgi-binmapserv -v MapServer version 6.2.1 (MS4W 3.1.0-beta1) -Jukka Rahkonen- Solly Vuso wrote: I have been using MS4W Mapserver 4 Windows- version 3.0.6 and I downloaded ms4w 6.2.0-beta4 and extracted it to the same folder over riding the old version amd went too mapserver-v and setenv and run them as an administrator install and restart the server but I still get the old version Can you assist me me -- Best Regards Solly Vuso -- Best Regards Solly Vuso Cell:073 3068 170 Fax:086 555 1270 I may not know what tomorrow holds for me but I do know who holds ma tomorrow. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] GEOMTRANSFORM definition causing an error
Thanks for all the quick replies. At this point, I don't care what units it is in - I'd like to get a working prototype. I've made some changes to the map file to see if I can find the cause of my issue. No matter what I do, I get the same error. Again, if I add... GEOMTRANSFORM (buffer([shape], [map_cellsize]*10) ...I get the error. If I comment out that line, no problems. I looked up epsg 4269 and saw it is based on Degrees so I set the UNITS to DD. I've been working with mapserver for a couple of weeks, so let's assume I know next to nil... Here is the most recent map file: MAP NAMEobscured STATUS ON SIZE912 380 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 255 255 255 FONTSET /web/mapserver/fonts.list CONFIG MS_ERRORFILE stdout # CONFIG MS_ERRORFILE /web/mapserver/ms_error.txt DEBUG 4 OUTPUTFORMAT NAME json DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END OUTPUTFORMAT NAME geojson DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END # # Web Interface # WEB IMAGEPATH ../out/ IMAGEURL /out/ METADATA wfs_srs EPSG:4269 END END PROJECTION init=epsg:4269 END # # Layers # # # Parcels # LAYER NAME parcels METADATA wfs_title Parcels wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON # EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END CLASS NAME Parcels STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END # # Buffered Parcels # LAYER NAME parcelbuffers METADATA wfs_title Parcel Buffers wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON UNITS DD STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END GEOMTRANSFORM (buffer([shape], [map_cellsize]*10) CLASS NAME Parcel Buffers STYLE # GEOMTRANSFORM (buffer([shape], 5) COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END END -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269p5080363.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
Re: [mapserver-users] GEOMTRANSFORM definition causing an error
tday, Lets try to see if we can eliminate if the value is the problem of the call is the problem. Try this: GEOMTRANSFORM (buffer([shape], 0.0) This should call the buffer and return the same object. If this works then we can assume that buffer is working and the issue is setting a valid value. This also might be related to using the Orcale connection. If you have the same data in a shapefile and could try your test with that that might be revealing. More questions: o Where are you seeing this error message? o Do you get the same error when using shp2img from the command line? o What does you whole mapserver CGI request look like? -Steve W On 9/26/2013 5:43 PM, tday wrote: Thanks for all the quick replies. At this point, I don't care what units it is in - I'd like to get a working prototype. I've made some changes to the map file to see if I can find the cause of my issue. No matter what I do, I get the same error. Again, if I add... GEOMTRANSFORM (buffer([shape], [map_cellsize]*10) ...I get the error. If I comment out that line, no problems. I looked up epsg 4269 and saw it is based on Degrees so I set the UNITS to DD. I've been working with mapserver for a couple of weeks, so let's assume I know next to nil... Here is the most recent map file: MAP NAMEobscured STATUS ON SIZE912 380 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 255 255 255 FONTSET /web/mapserver/fonts.list CONFIG MS_ERRORFILE stdout # CONFIG MS_ERRORFILE /web/mapserver/ms_error.txt DEBUG 4 OUTPUTFORMAT NAME json DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END OUTPUTFORMAT NAME geojson DRIVER TEMPLATE #MIMETYPE application/json; subtype=geojson FORMATOPTION FILE=geojson.tmpl END # # Web Interface # WEB IMAGEPATH ../out/ IMAGEURL /out/ METADATA wfs_srs EPSG:4269 END END PROJECTION init=epsg:4269 END # # Layers # # # Parcels # LAYER NAME parcels METADATA wfs_title Parcels wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON STATUS ON # EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END CLASS NAME Parcels STYLE COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END # # Buffered Parcels # LAYER NAME parcelbuffers METADATA wfs_title Parcel Buffers wfs_srs EPSG:4269 gml_include_items all gml_featureid OBJECTID wfs_enable_request* wfs_getfeature_formatlist gml,json,geojson gml_COUNTRY_ID_type Character gml_STATE_ID_type Character gml_COUNTY_ID_typeCharacter gml_PARCEL_ID_typeCharacter END TYPE POLYGON UNITS DD STATUS ON EXTENT -180 -90 180 90 CONNECTIONTYPE oraclespatial CONNECTION SDE/3nz0rb4rr4g1n@ArcSDE DATA SHAPE FROM (select OBJECTID, COUNTRY_ID, STATE_ID, COUNTY_ID, PARCEL_ID, APP_USER_G, SHAPE from PARCEL) USING FILTER PROJECTION init=epsg:4269 END GEOMTRANSFORM (buffer([shape], [map_cellsize]*10) CLASS NAME Parcel Buffers STYLE # GEOMTRANSFORM (buffer([shape], 5) COLOR240 240 240 OUTLINECOLOR 0 0 0 END END END END -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269p5080363.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