Re: [mapserver-users] Trouble shooting SLD?
HI, I missed the beginning of this thread, just chip in to ask if you did not overlook the basis: Does MS actually read the SLD? I found that to be a problem in earlier work, see below an extract from an old mail to this list. If it's not that, sorry... Barend Köbben (ITC) quote (..) Almost always I find this kind of problem having not much to do with the SLDs themselves, but with TMP file settings. This is certainly more likely if you say sending the SLD it in SLD-BODY works. Using SLDs is dependent on the correct setting of the two settings IMAGEPATH -- where the mapserver software puts the SLD and other temporary files IMAGEURL -- where the web browser and other http services pick them up. Setting these incorrectly, and more importantly their security setting incorrrectly, will normally give no problems, but when using SLDs (and also in other cases, eg. when chaining Mapserver to external WMS and WFS services), they will make MS malfunction, but SILENTLY (ie. No error messages). Eg. in our set ups of a WMS with external SLD they are set as follows: For a *nix setup ( MacOSX) with Mapserver CGI 'behind' Apache: WEB IMAGEPATH /Users/kobben/Sites/ms_tmp/ IMAGEURL http://localhost/~kobben/ms_tmp/; ## METADATA [all your web metadata...] END #metadata END #web For a Win box with Mapserver CGI 'behind' IIS: IMAGEPATH C:/tmp/ms_tmp/ IMAGEURL http://geoserver.itc.nl/ms_tmp/; The IMAGEPATh is a directory that is reacheable by Mapserver at this real location (in this case expressed as Unix BSD path on my MacOSX or as UNC path on Win) and that has read write access set for the Mapserver process. Eg. on the Winbox it should have write access for the anonymous system service account under which Mapserver runs (usually something like SERVERNAME\IWAM_SERVERNAME). You can test this by seeing if files with names like) are being created when you request the WMS with external SLD. If they are the IMAGEPATH celarly works. Then test if you can point a browser to the IMAGEURL and pick up the tmp file. If that worsk the IMAGEURL is also OK. Now it should work... Hope this helps. /quote On 19-10-10 22:44, K k...@sandnarrows.com wrote: Thanks again for your assistance. The SLD file I was using was from the mapserver repository that Jeff posted earlier in the thread. I went ahead and edited it and removed all the differing bits from yours. No change, still not reading the SLD file. I then decided to create a line file, in case the issue was polygons, and use the SLD file you posted, with the only change being the name, still not working. I went through and changed all the names to be different, then tried matching the SLD name with different parts in the odd hope it would work, again no luck. No matter what I do it seems the SLD is being ignored. Ken On 19/10/2010 3:52 AM, Rahkonen Jukka wrote: Hi, I have never made a single SLD file myself, just edited something working that I have found so unfortunately I fear I cannot give very good advice. I did, however, compare something that works for me and your SLD file and these are the differences: My first line has more elements: StyledLayerDescriptor version=1.0.0 xmlns=http://www.opengis.net/sld; xmlns:gml=http://www.opengis.net/gml; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd; You have Title, I don't. Hard to believe this is critical, though TitleCommunities/Title Then you are giving the geometry element as Geometry PropertyNameCommunities/PropertyName /Geometry I do not have that element at all. Mapserver documentation says that it is not supported and I also believe that now it is wrong in your SLD. I understand that your SLD is trying to telll now that the geometry of your layer is stored in a field named Communities. By the way, it might be better to use different names in various places instead of Communities everywhere at least when testing. Geoserver folks have made a SLD cookbook http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/index.html it is probably worth reading. And here is the SLD that I looked at when doing comparison. I took it out from my working Mapserver layer with GetStyles. Perhaps you could try the same, style your layer to look good by editing the mapfile and take the SLD out with GetStyles and you should have a good template in your hands. StyledLayerDescriptor version=1.0.0 xmlns=http://www.opengis.net/sld; xmlns:gml=http://www.opengis.net/gml; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/sld
Re: [mapserver-users] ESRI binary grids RRD files ?
Frank, I've left those RRD and I suspect that for some reason the pyramids are not read... In fact the performance is very good for zoomed in views (street level)... but it is very slow for zoom out views (city level)... and I can see the IO working very hard... is there any way to see if MapServer/gdal is reading the pyramids correctly ? thanks On Tue, Oct 19, 2010 at 2:08 PM, Frank Warmerdam warmer...@pobox.comwrote: Sebastian E. Ovide wrote: Hi Guys, ESRI Binary grids contains a bunch of adf files and rrd files that I believe contains pyramids. Does MapServer needs those rrd files ? the question is because they are very big ! Sebastian, Yes, MapServer will take advantage of .rrd overviews for ESRI binary grids. You can delete them but in some cases performance will suffer. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] ESRI binary grids RRD files ?
ok, using gdalinfo it looks like my rasters have some problems... I'll follow up in gdal mailing list.. thanks g...@mapserver:~$ gdalinfo data/ie/rasters/ie_t02_q200/ Driver: AIG/Arc/Info Binary Grid Files: data/ie/rasters/ie_t02_q200/ data/ie/rasters/ie_t02_q200/z001014x.adf data/ie/rasters/ie_t02_q200/prj.adf data/ie/rasters/ie_t02_q200/z001002.adf data/ie/rasters/ie_t02_q200/z001003.adf data/ie/rasters/ie_t02_q200/z001011x.adf data/ie/rasters/ie_t02_q200/z001008.adf data/ie/rasters/ie_t02_q200/z001004.adf data/ie/rasters/ie_t02_q200/dblbnd.adf data/ie/rasters/ie_t02_q200/w001001x.adf data/ie/rasters/ie_t02_q200/z001009x.adf data/ie/rasters/ie_t02_q200/z001012x.adf data/ie/rasters/ie_t02_q200/w001001.adf data/ie/rasters/ie_t02_q200/z001003x.adf data/ie/rasters/ie_t02_q200/sta.adf data/ie/rasters/ie_t02_q200/z001015.adf data/ie/rasters/ie_t02_q200/z001005.adf data/ie/rasters/ie_t02_q200/z001013x.adf data/ie/rasters/ie_t02_q200/z001010.adf data/ie/rasters/ie_t02_q200/w001000.adf data/ie/rasters/ie_t02_q200/z001006.adf data/ie/rasters/ie_t02_q200/z001014.adf data/ie/rasters/ie_t02_q200/hdr.adf data/ie/rasters/ie_t02_q200/z001001.adf data/ie/rasters/ie_t02_q200/z001005x.adf data/ie/rasters/ie_t02_q200/z001010x.adf data/ie/rasters/ie_t02_q200/z001004x.adf data/ie/rasters/ie_t02_q200/w001000x.adf data/ie/rasters/ie_t02_q200/z001013.adf data/ie/rasters/ie_t02_q200/z001015x.adf data/ie/rasters/ie_t02_q200/z001001x.adf data/ie/rasters/ie_t02_q200/z001007x.adf data/ie/rasters/ie_t02_q200/z001006x.adf data/ie/rasters/ie_t02_q200/z001011.adf data/ie/rasters/ie_t02_q200/z001007.adf data/ie/rasters/ie_t02_q200/z001008x.adf data/ie/rasters/ie_t02_q200/z001002x.adf data/ie/rasters/ie_t02_q200/z001009.adf data/ie/rasters/ie_t02_q200/z001012.adf Size is 64402, 89106 Coordinate System is: PROJCS[unnamed, GEOGCS[WGS 84, DATUM[WGS_1984, SPHEROID[WGS 84,6378137,298.257223563, AUTHORITY[EPSG,7030]], TOWGS84[0,0,0,0,0,0,0], AUTHORITY[EPSG,6326]], PRIMEM[Greenwich,0, AUTHORITY[EPSG,8901]], UNIT[degree,0.0174532925199433, AUTHORITY[EPSG,9108]], AUTHORITY[EPSG,4326]], PROJECTION[Transverse_Mercator], PARAMETER[latitude_of_origin,53.5], PARAMETER[central_meridian,-8], PARAMETER[scale_factor,1.35], PARAMETER[false_easting,20], PARAMETER[false_northing,25], UNIT[METERS,1]] Origin = (15390.000,461520.000) Pixel Size = (5.000,-5.000) Corner Coordinates: Upper Left ( 15390.000, 461520.000) ( 10d54'41.98W, 55d21'55.72N) Lower Left ( 15390.000, 15990.000) ( 10d39'3.41W, 51d22'1.58N) Upper Right ( 337400.000, 461520.000) ( 5d49'56.05W, 55d22'51.38N) Lower Right ( 337400.000, 15990.000) ( 6d 1'35.29W, 51d22'49.73N) Center ( 176395.000, 238755.000) ( 8d21'17.49W, 53d23'54.38N) Band 1 Block=512x4 Type=Float32, ColorInterp=Undefined Min=1.000 Max=4.000 NoData Value=-3.4028234663852886e+38 ERROR 3: Attempt to read past EOF in data/ie/rasters/ie_t02_q200//../info/arc.dir. ERROR 4: Failed to open table .VAT On Wed, Oct 20, 2010 at 9:13 AM, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: Frank, I've left those RRD and I suspect that for some reason the pyramids are not read... In fact the performance is very good for zoomed in views (street level)... but it is very slow for zoom out views (city level)... and I can see the IO working very hard... is there any way to see if MapServer/gdal is reading the pyramids correctly ? thanks On Tue, Oct 19, 2010 at 2:08 PM, Frank Warmerdam warmer...@pobox.comwrote: Sebastian E. Ovide wrote: Hi Guys, ESRI Binary grids contains a bunch of adf files and rrd files that I believe contains pyramids. Does MapServer needs those rrd files ? the question is because they are very big ! Sebastian, Yes, MapServer will take advantage of .rrd overviews for ESRI binary grids. You can delete them but in some cases performance will suffer. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent -- Sebastian E. Ovide -- Sebastian E. Ovide ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Ogrtindex and attribute data
Hi, Do you mean that you cannot classify a layer where the data are drawn using a tile index? I use tile indexed shapefiles all the time and have never had any problems using CLASSITEM/EXPRESSION and FILTERITEM/FILTER. Could you provide an example of what's not working? Regards, Christy On 10/19/2010 10:17 AM, Rahkonen Jukka wrote: Hi, Can somebody affirm that using ogr tileindex is breaking the access to the attribute date of the real datasets, for example shapefiles? Somebody was trying to use WMS GetFeatureInfo with a ogrtindex layer and failed and so did I in the test I made for verification. Now I have been trying myself to classify an orgtindex layer but CLASSITEM/EXPRESSION does not select anything. FILTERITEM/FILTER does not work either. Both systems work if I change a huge combined shapefile in place of the tileindex connection and without EXPRESSION or FILTER Mapserver is drawing all the features OK. If access to attribute data is not implemented, wouldn't it be cool to have it? Multigigabyte shapefiles are tedious to update but I have a reason to use files instead of a database in this case. -Jukka Rahkonen- ___ 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] Ogrtindex and attribute data
Hi, If I use a big combined shapefile as input I am getting class 36311 coloured as red. If I am using tileindex I am getting an empty map. Tileindex itself is working and if I comment out the EXPRESSION while using tileindex I do get everything from the background data drawn. Thus it is the classification that does not work for me. My Mapserver is version 5.2.1 and here are some parts of my mapfile: #CONNECTIONTYPE OGR #TILEINDEX wildwater_tindex.shp,0 #classification does not work with this DATA combined_wildwaters #classification works with this CLASSITEM luokka CLASS NAME wide_wildwater EXPRESSION 36311 STYLE COLOR 255 0 0 WIDTH 2 END END -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Christy Nieman Lähetetty: 20. lokakuuta 2010 14:26 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Ogrtindex and attribute data Hi, Do you mean that you cannot classify a layer where the data are drawn using a tile index? I use tile indexed shapefiles all the time and have never had any problems using CLASSITEM/EXPRESSION and FILTERITEM/FILTER. Could you provide an example of what's not working? Regards, Christy On 10/19/2010 10:17 AM, Rahkonen Jukka wrote: Hi, Can somebody affirm that using ogr tileindex is breaking the access to the attribute date of the real datasets, for example shapefiles? Somebody was trying to use WMS GetFeatureInfo with a ogrtindex layer and failed and so did I in the test I made for verification. Now I have been trying myself to classify an orgtindex layer but CLASSITEM/EXPRESSION does not select anything. FILTERITEM/FILTER does not work either. Both systems work if I change a huge combined shapefile in place of the tileindex connection and without EXPRESSION or FILTER Mapserver is drawing all the features OK. If access to attribute data is not implemented, wouldn't it be cool to have it? Multigigabyte shapefiles are tedious to update but I have a reason to use files instead of a database in this case. -Jukka Rahkonen- ___ 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
[mapserver-users] Shptree fails with biggish shapefile
Hi, I have been trying to create an index with shptree for a rather big shapefile. The size of the .shp part is about 1800 KB. Shptree seems to run OK, it does not throw any errors and Windows task manager shows a steady growing memory usage. Then shptree stops without warnings and memory is freed. Unfortunately no .qix file is written on the disk. I made a test by selecting a part of the big shapefile into a smaller one and for that I could create .qix index normally. Therefore I believe that the data is OK and shptree fails because of the big shapefile size. Have anyone else experienced the same and if this perhaps something worth creating a new ticket on issue tracker? I am still playing with GDAL 1.7.0dev, FWTools 2.4.2, released 2009/06/24. -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Shptree fails with biggish shapefile
On 10-10-20 9:07 AM, Rahkonen Jukka wrote: Hi, I have been trying to create an index with shptree for a rather big shapefile. The size of the .shp part is about 1800 KB. Shptree seems to run OK, it does not throw any errors and Windows task manager shows a steady growing memory usage. Then shptree stops without warnings and memory is freed. Unfortunately no .qix file is written on the disk. I made a test by selecting a part of the big shapefile into a smaller one and for that I could create .qix index normally. Therefore I believe that the data is OK and shptree fails because of the big shapefile size. Have anyone else experienced the same and if this perhaps something worth creating a new ticket on issue tracker? I am still playing with GDAL 1.7.0dev, FWTools 2.4.2, released 2009/06/24. Note that large dbf/shp support was recently tweaked during the recent WMS Benchmarking exercise (http://osgeo-org.1803224.n2.nabble.com/Support-for-large-DBF-SHP-files-td5420444.html#a5420444). In that case shptree would create a qix file (for a 1.3GB shp) but MapServer would not draw it and no errors were thrown; this has since been fixed. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Ogrtindex and attribute data
Hi, It just - starts to work. I need to write a hundred more answers on this list before I have paid back this help. And Jeff, do you hear me? I copied my settings from a document http://mapserver.org/input/vector/ogr.html. Obviously it should be updated a bit. I should have read http://mapserver.org/optimization/tileindex.html instead. -Jukka- Lähettäjä: Christy Nieman [mailto:cnie...@dmsolutions.ca] Lähetetty: 20. lokakuuta 2010 15:08 Vastaanottaja: Rahkonen Jukka Aihe: Re: [mapserver-users] Ogrtindex and attribute data What happens if you leave out the CONNECTIONTYPE when you use the tile index? i.e.: LAYER TILEINDEX wildwater_tindex.shp TILEITEM location # not needed if the attribute with the data paths in your index is called location CLASSITEM luokka ... CLASS NAME wide_wildwater EXPRESSION 36311 STYLE COLOR 255 0 0 WIDTH 2 END END END I'm not certain if leaving the connection type out will help, but it's not necessary assuming your data are all shapefiles. On 10/20/2010 07:49 AM, Rahkonen Jukka wrote: Hi, If I use a big combined shapefile as input I am getting class 36311 coloured as red. If I am using tileindex I am getting an empty map. Tileindex itself is working and if I comment out the EXPRESSION while using tileindex I do get everything from the background data drawn. Thus it is the classification that does not work for me. My Mapserver is version 5.2.1 and here are some parts of my mapfile: #CONNECTIONTYPE OGR #TILEINDEX wildwater_tindex.shp,0 #classification does not work with this DATA combined_wildwaters #classification works with this CLASSITEM luokka CLASS NAME wide_wildwater EXPRESSION 36311 STYLE COLOR 255 0 0 WIDTH 2 END END -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Christy Nieman Lähetetty: 20. lokakuuta 2010 14:26 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Ogrtindex and attribute data Hi, Do you mean that you cannot classify a layer where the data are drawn using a tile index? I use tile indexed shapefiles all the time and have never had any problems using CLASSITEM/EXPRESSION and FILTERITEM/FILTER. Could you provide an example of what's not working? Regards, Christy On 10/19/2010 10:17 AM, Rahkonen Jukka wrote: Hi, Can somebody affirm that using ogr tileindex is breaking the access to the attribute date of the real datasets, for example shapefiles? Somebody was trying to use WMS GetFeatureInfo with a ogrtindex layer and failed and so did I in the test I made for verification. Now I have been trying myself to classify an orgtindex layer but CLASSITEM/EXPRESSION does not select anything. FILTERITEM/FILTER does not work either. Both systems work if I change a huge combined shapefile in place of the tileindex connection and without EXPRESSION or FILTER Mapserver is drawing all the features OK. If access to attribute data is not implemented, wouldn't it be cool to have it? Multigigabyte shapefiles are tedious to update but I have a reason to use files instead of a database in this case. -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list
Re: [mapserver-users] Shptree fails with biggish shapefile
You may also want to limit the depth. In the benchmarking exercise, we saw shptree creating a qix file with excessive depth. Try limiting the depth to 8 or less. Mike -- Michael Smith US Army Corps of Engineers Remote Sensing/GIS Center Hanover, NH On 10/20/10 8:21 AM, Jeff McKenna jmcke...@gatewaygeomatics.com wrote: On 10-10-20 9:07 AM, Rahkonen Jukka wrote: Hi, I have been trying to create an index with shptree for a rather big shapefile. The size of the .shp part is about 1800 KB. Shptree seems to run OK, it does not throw any errors and Windows task manager shows a steady growing memory usage. Then shptree stops without warnings and memory is freed. Unfortunately no .qix file is written on the disk. I made a test by selecting a part of the big shapefile into a smaller one and for that I could create .qix index normally. Therefore I believe that the data is OK and shptree fails because of the big shapefile size. Have anyone else experienced the same and if this perhaps something worth creating a new ticket on issue tracker? I am still playing with GDAL 1.7.0dev, FWTools 2.4.2, released 2009/06/24. Note that large dbf/shp support was recently tweaked during the recent WMS Benchmarking exercise (http://osgeo-org.1803224.n2.nabble.com/Support-for-large-DBF-SHP-files-td5420 444.html#a5420444). In that case shptree would create a qix file (for a 1.3GB shp) but MapServer would not draw it and no errors were thrown; this has since been fixed. -jeff ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Ogrtindex and attribute data
On 10-10-20 9:23 AM, Rahkonen Jukka wrote: And Jeff, do you hear me? I copied my settings from a document http://mapserver.org/input/vector/ogr.html. Obviously it should be updated a bit. I should have read http://mapserver.org/optimization/tileindex.html instead. I can hear you. I had just updated that document. What is wrong with it? Can you file a ticket for the parts that are wrong? Please assign the tickets to the MapServer Documentation component, thank you. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Ogrtindex and attribute data
-Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Jeff McKenna Lähetetty: 20. lokakuuta 2010 16:40 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Ogrtindex and attribute data On 10-10-20 9:23 AM, Rahkonen Jukka wrote: And Jeff, do you hear me? I copied my settings from a document http://mapserver.org/input/vector/ogr.html. Obviously it should be updated a bit. I should have read http://mapserver.org/optimization/tileindex.html instead. I can hear you. I had just updated that document. What is wrong with it? Can you file a ticket for the parts that are wrong? Please assign the tickets to the MapServer Documentation component, thank you. Hi, Sorry, I can't tell exactly what is wrong. However, I cannot classify my layer with CLASSITEM/EXPRESSION if I am looking at a bunch of shapefiles through this tileindex definition: LAYER TYPE LINE CONNECTIONTYPE OGR #commenting this line out makes classification to work TILEINDEX wildwater_tindex.shp,0 ... If I take out the CONNECTIONTYPE OGR line the classification works. However, I guess that it is only possible to leave out the line when working with shapefiles and not with other OGR formats. Do you think I should file a ticket and encourage someone to have a look why classification fails with the CONNECTIONTYPE line, and if it happens with most fresh Marserver version (I am still running 5.2.1)? It is probably too early to do anything for the documentation if we do not know what is the real issue. -Jukka- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Arabic text rendering
Does anyone have any experience with Arabic text on a Linux installation? Thanks -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg Sent: Monday, October 18, 2010 2:10 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Arabic text rendering On Linux we are Arabic words rendered as individual characters and on Windows the characters are joined correctly. Same map file, shapefile and font on each. We have tried both the mapserver and libs we have built from source and the fgs binary install on Linux and both render individual characters. Can anyone point me to what lib or config I need to change? Thanks Ian ___ 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
[mapserver-users] The order of Classes in A Layer
Hi List, I have several polygons in a postgis table. Some bigger polygons cover the smaller ones. How can I prevent bigger polygons drawn on smaller ones? On this case smaller ones cant be seen only labels are drawn. I don't know the problem is about drawing order but I think so. As you can see on the screenshots, the small polygons can be seen but when I zoom in some of them can't be drawn. The images are purple because a bigger one covers all... Thanks in advance.. http://osgeo-org.1803224.n2.nabble.com/file/n5655194/zoomOut.png http://osgeo-org.1803224.n2.nabble.com/file/n5655194/zoomIn.png And this is my class definition; The bigger and smaller objects are in different visibility ranges and different classes!!! CLASS EXPRESSION ('[visibility_range]' = '1000-5000') MAXSCALEDENOM 5000 MINSCALEDENOM 1000 NAME GID_S STYLE COLOR [color] END STYLE OUTLINECOLOR 20 20 20 WIDTH 3 END LABEL COLOR 0 0 0 FONT arial TYPE truetype SIZE 8 POSITION LC PARTIALS FALSE BUFFER 5 OUTLINECOLOR 255 255 255 END END -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/The-order-of-Classes-in-A-Layer-tp5655194p5655194.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] The order of Classes in A Layer
You could try putting an ORDER BY in your PostGIS layer definition to order it by area descending. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ibrahim Saricicek Sent: Wednesday, October 20, 2010 9:47 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] The order of Classes in A Layer Hi List, I have several polygons in a postgis table. Some bigger polygons cover the smaller ones. How can I prevent bigger polygons drawn on smaller ones? On this case smaller ones cant be seen only labels are drawn. I don't know the problem is about drawing order but I think so. As you can see on the screenshots, the small polygons can be seen but when I zoom in some of them can't be drawn. The images are purple because a bigger one covers all... Thanks in advance.. http://osgeo-org.1803224.n2.nabble.com/file/n5655194/zoomOut.png http://osgeo-org.1803224.n2.nabble.com/file/n5655194/zoomIn.png And this is my class definition; The bigger and smaller objects are in different visibility ranges and different classes!!! CLASS EXPRESSION ('[visibility_range]' = '1000-5000') MAXSCALEDENOM 5000 MINSCALEDENOM 1000 NAME GID_S STYLE COLOR [color] END STYLE OUTLINECOLOR 20 20 20 WIDTH 3 END LABEL COLOR 0 0 0 FONT arial TYPE truetype SIZE 8 POSITION LC PARTIALS FALSE BUFFER 5 OUTLINECOLOR 255 255 255 END END -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/The-order-of-Classes-in-A-Layer-tp5655194p5655194.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
[mapserver-users] Re: wms_title display in ESRI
Paul, I tried apos; and it has the same effect as a real '. Jim On 10/19/2010 07:41 PM, Paul Ramsey wrote: Try usingapos; and see how it goes On Tue, Oct 19, 2010 at 3:51 PM, jimjbw2...@earthlink.net wrote: I have a mapfile that has wms_title strings with single quotes. When I open the WMS layer in Arcmap any layers with a single quote are not displayed properly, with the string truncated after where the quote is. How do I properly insert an apostrophe into a wms_title? Jim White ___ 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] Re: wms_title display in ESRI
Try \' or ask ESRI :-) It's not a Mapserver problem. Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl On Oct 20, 2010, at 8:20 PM, jim wrote: Paul, I tried apos; and it has the same effect as a real '. Jim On 10/19/2010 07:41 PM, Paul Ramsey wrote: Try usingapos; and see how it goes On Tue, Oct 19, 2010 at 3:51 PM, jimjbw2...@earthlink.net wrote: I have a mapfile that has wms_title strings with single quotes. When I open the WMS layer in Arcmap any layers with a single quote are not displayed properly, with the string truncated after where the quote is. How do I properly insert an apostrophe into a wms_title? Jim White ___ 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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: wms_title display in ESRI
Agreed. Well, might want to save out the capabilities document and run it through an XML validator to make sure, but it sounds like we're the Nice Guys here. P On Wed, Oct 20, 2010 at 11:24 AM, Bart van den Eijnden bart...@osgis.nl wrote: Try \' or ask ESRI :-) It's not a Mapserver problem. Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl On Oct 20, 2010, at 8:20 PM, jim wrote: Paul, I tried apos; and it has the same effect as a real '. Jim On 10/19/2010 07:41 PM, Paul Ramsey wrote: Try usingapos; and see how it goes On Tue, Oct 19, 2010 at 3:51 PM, jimjbw2...@earthlink.net wrote: I have a mapfile that has wms_title strings with single quotes. When I open the WMS layer in Arcmap any layers with a single quote are not displayed properly, with the string truncated after where the quote is. How do I properly insert an apostrophe into a wms_title? Jim White ___ 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 ___ 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] Re: wms_title display in ESRI
I will work on this as a ESRI problem. I ran the getcapabilities through a validator and it was valid http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd The ' was shown as #39; Jim On 10/20/2010 02:27 PM, Paul Ramsey wrote: Agreed. Well, might want to save out the capabilities document and run it through an XML validator to make sure, but it sounds like we're the Nice Guys here. P On Wed, Oct 20, 2010 at 11:24 AM, Bart van den Eijndenbart...@osgis.nl wrote: Try \' or ask ESRI :-) It's not a Mapserver problem. Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl On Oct 20, 2010, at 8:20 PM, jim wrote: Paul, I triedapos; and it has the same effect as a real '. Jim On 10/19/2010 07:41 PM, Paul Ramsey wrote: Try usingapos; and see how it goes On Tue, Oct 19, 2010 at 3:51 PM, jimjbw2...@earthlink.netwrote: I have a mapfile that has wms_title strings with single quotes. When I open the WMS layer in Arcmap any layers with a single quote are not displayed properly, with the string truncated after where the quote is. How do I properly insert an apostrophe into a wms_title? Jim White ___ 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 ___ 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