Re: [mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-29 Thread Jiří Kadlec
After a couple of failed trials with cmake, I resorted to installing the older version MapServer 6.2.2. I've described my installation steps on the Webfaction webhosting account here: https://community.webfaction.com/questions/15234/web-map-service-wms-installation I think that more examples on

[mapserver-users] Mapcache

2014-01-29 Thread TDS
Hello, I have some problems with MapCache projections and grids. First my XML: ?xml version=1.0 encoding=UTF-8? mapcache [...] grid name=EPSG25831 metadata titleETRS89 / UTM zone 31N/title /metadata titleOSM Tile

Re: [mapserver-users] wcs 1.0.0 bbox problem

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I wonder where BBOX (-2.5,-2.5,2.5,2.5) comes. If Mapserver is generating it automatically then it feels like a bug. Your request does not contain BBOX at all and it is OK because it has TIME, and WCS 1.0.0 standard says One of BBOX or TIME is required. CRS is required but because there

Re: [mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I do not understand these things at all but I found our log file for CentOS and dislike your command is starts with “make clean”. Here is a part of the log. Custom library paths have been stored before this into $GEOS;$PROJ;$GDAL; make clean /dev/null 21 rm -rf CMakeFiles CMakeCache.txt

Re: [mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities

2014-01-29 Thread Yves Jacolin
Hello, I have the same issue. It seems that namespace header are not correct (just a guess, I could be wrong). Changing wms_inspire_capabilities from embed to url make a correct GetCapabilities. I can fill an issue and add some simple mapfile if needed. Regards, Y. 2013-11-25 Rahkonen Jukka

Re: [mapserver-users] Publishing International Characters (Hindi) labels in WMS

2014-01-29 Thread davequery78
Thanks Stephen for your prompt reply Mapserver Version mapserv -v MapServer version 6.0.3 (MS4W 3.0.6) OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KM L SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUP PORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT

Re: [mapserver-users] Publishing International Characters (Hindi) labels in WMS

2014-01-29 Thread davequery78
Sorry for another post with data creation method As I assume some confusion in fonts. Shape File is created with following steps 1) - Install Microsoft Language Pack (for Hindi support) 2) - Select Hindi Language 3) - Edit Shape file in Editor start typing in hindi Here I am not at all

Re: [mapserver-users] Publishing International Characters (Hindi) labels in WMS

2014-01-29 Thread Thomas Bonfort
you need to use the development version of mapserver, with harfbuzz support compiled in. All the released 6.x.y versions don't have support for hindi shaping. -- thomas On 29/01/2014 11:48, davequery78 wrote: Sorry for another post with data creation method As I assume some confusion in

Re: [mapserver-users] Mapcache

2014-01-29 Thread Thomas Bonfort
Please be a bit more specific as to what aren't working means -- thomas On 29/01/2014 09:07, TDS wrote: Hello, I have some problems with MapCache projections and grids. First my XML: ?xml version=1.0 encoding=UTF-8? mapcache [...] grid name=EPSG25831 metadata

Re: [mapserver-users] Mapcache

2014-01-29 Thread TDS
Hello, e.g. the extents for 25XXX and 31XXX are restricted. Outside of this area, even if it is a little piece of it, it is not drawn. And the resolutions will make a distorted image (OpenLayers, QuantumGIS, etc.). In real WMS from mapserv there is no problem if outside extents or with zoom

Re: [mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities

2014-01-29 Thread Stephan Meißl
Hi, maybe the problem is that the inspire related elements are defined directly in the capabilities document and not in the referenced DTD [1] and thus not found by SAX. Merging the definitions into one document and using it with libxml2 successfully validates the capabilities provided in

Re: [mapserver-users] Mapcache

2014-01-29 Thread Thomas Bonfort
I'm sorry, I don't really understand your question... mapcache splits the area given in your grid extent into square tiles of the given resolutions, and asks the wms to render them. Areas outside the grid extent will not be stored. Any distortion is not created by mapcache, who is only requesting

Re: [mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, So where is the bug? In OpenJUMP, SAX, Mapserver, the configuration in Toscane, or in Inspire? -Jukka Rahkonen- Stephan Meißl wrote Lähetetty: 29. tammikuuta 2014 15:48 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] XML parsing error with extended Inspire WMS

Re: [mapserver-users] XML parsing error with extended Inspire WMS 1.1.1 capabilities

2014-01-29 Thread Stephan Meißl
On 01/29/2014 02:59 PM, Rahkonen Jukka (Tike) wrote: Hi, So where is the bug? In OpenJUMP, SAX, Mapserver, the configuration in Toscane, or in Inspire? If my suspicion is true then SAX would be needed to be extended to also use the element definitions included directly in the capabilities

[mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Hi, Is there a way to add a layer that points to 6000 some odd shapefiles? I've created a set of contour files for the whole world, and when I had the info in a single shapefile it was about 260GBs. Mapserver would serve it up, but performance was horrible. I now have the set broken up into

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Thomas Bonfort
Hi, you should use ogrtindex for vector files, not gdaltindex -- thomas On 29/01/2014 17:32, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: Hi, Is there a way to add a layer that points to 6000 some odd shapefiles? I've created a set of contour files for the whole world, and when I had

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Jeff McKenna
On 1/29/2014, 12:32 PM, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: Hi, Is there a way to add a layer that points to 6000 some odd shapefiles? I've created a set of contour files for the whole world, and when I had the info in a single shapefile it was about 260GBs. Mapserver would

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Stephen Woodbridge
On 1/29/2014 11:37 AM, Jeff McKenna wrote: On 1/29/2014, 12:32 PM, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: Hi, Is there a way to add a layer that points to 6000 some odd shapefiles? I've created a set of contour files for the whole world, and when I had the info in a single

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Brent Wood
This is less a mapserver issue than a data management issue - and shapefiles are not a particularly good way to manage data. I suggest you look at a spatially enabled database, with attribute spatial indexes, such as Postgis, instead of shapefiles as a data source. These are pretty much

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Rahkonen Jukka (Tike)
Hi, I am almost sure that the 260 GB shapefile was not valid. The shp part has an absolute limit at 8 GB but it can also be limited to 4 GB or 2 GB http://www.gdal.org/ogr/drv_shapefile.html. The dbf part has no limits so I believe that you had all the attributes in a huge dbf file but only

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Even Rouault
Le mercredi 29 janvier 2014 18:40:49, Brent Wood a écrit : This is less a mapserver issue than a data management issue - and shapefiles are not a particularly good way to manage data. I suggest you look at a spatially enabled database, with attribute spatial indexes, such as Postgis,

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
I was off on the size of the shape file. It's 265MB, not GB. Doh! Anyway, the performance when processing that files was still surprisingly bad. Quad core server and all 4 core's were maxed out for about 5 minutes after just loading that layer on a client. I am running Server 2003, and

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Even Rouault
Le mercredi 29 janvier 2014 19:16:40, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE a écrit : I was off on the size of the shape file. It's 265MB, not GB. Doh! Anyway, the performance when processing that files was still surprisingly bad. Quad core server and all 4 core's were maxed out for

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
The Tile4ms utility is kicking out an error on some of the larger shape files, saying the .dbf doesn't match the file. Whatever that means. I can still load the bad shapefiles in Global Mapper, and they appear to be correct. I'm reprocessing the data now to cut down on the number of files. I

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Rahkonen Jukka (Tike)
Oh, I thought you had something interesting :) If that little shapefile was slow you for sure had no qix index on that. One shapefile will be good for you but ogrtileindex is about as good alternative and if you have faulty data in some of the 6000 original shapefiles you can correct just

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Stephen Woodbridge
On 1/29/2014 1:27 PM, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: The Tile4ms utility is kicking out an error on some of the larger shape files, saying the .dbf doesn't match the file. Whatever that means. I can still load the bad shapefiles in Global Mapper, and they appear to be

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Geez. Just added the .qix to the original .shp file. What a difference. My server doesn't even bump up on processor usage. Thanks! -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka (Tike)

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
That's the default output for Global Mapper when exporting vector data as gridded shapefiles. Maybe they need to add an option to create all shapefiles with the same attributes for a single export job? -Original Message- From: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Stephen Woodbridge
On 1/29/2014 1:29 PM, Rahkonen Jukka (Tike) wrote: Oh, I thought you had something interesting :) If that little shapefile was slow you for sure had no qix index on that. One shapefile will be good for you but ogrtileindex is about as good alternative and if you have faulty data in some of

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-29 Thread Robert Sanson
Hi Perfect - things work now. Here is my layer: LAYER NAME farm GROUP CRS TYPE RASTER STATUS ON CONNECTION http://remoteserver/cgi-bin/mywms.exe?farmid=%farmid%; CONNECTIONTYPE WMS VALIDATION 'farmid' '^[A-Z]{2}[0-9]{5}$' END METADATA wms_srs

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-29 Thread zach cruise
i tried like you said: ..map.layer[layer1].class[class1]=NAME+new_name.. but i got the following error (DEBUG 5): loadClass(): Unknown identifier. Parsing error near (NAME):(line 1) where the map file is: VALIDATION class1 .* END CLASS NAME class1 http://mapserver.org/cgi/controls.html

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-29 Thread thomas bonfort
Try changing/using the class title instead of the class name , I suspect the name properties are identifiers that cannot be updated by url. -- thomas On 29 January 2014 02:47, zach cruise zachc1...@gmail.com wrote: in the past, I could do a runtime substitution of a class name by passing it