Re: [mapserver-users] tinyows
Hi Alexandre, ok, I changed to 'wfs:...', removed the Filter and got this in my -O test.txt file: ?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='InvalidParameterValue' locator='request' ows:ExceptionTextxml isn't valid/ows:ExceptionText /ows:Exception /ows:ExceptionReport This is always the same actually. This was the result and the adjusted wget command: C:\Users\Annawget http://localhost/cgi-bin/tinyows.exe --post-data='wfs:GetFe ature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.1.0 xsi:s chemaLocation=http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/w fs.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;wfs:Query typeNam e=feature:frida srsName=EPSG:31467 xmlns:feature=http://127.0.0.1/;/wfs:Q uery/wfs:GetFeature' --header=Content-Type: application/xml; charset=UTF-8 -O C:\test.txt SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\OSGeo4W\GnuWin32/etc/wgetrc --2012-11-13 10:07:35-- http://localhost/cgi-bin/tinyows.exe%20--post-data='%3C wfs:GetFeature%20xmlns:wfs=http://www.opengis.net/wfs%20service=WFS%20version=1. 1.0%20xsi:schemaLocation=http://www.opengis.net/wfs Resolving localhost... 127.0.0.1, ::1 Connecting to localhost|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-11-13 10:07:35 ERROR 404: Not Found. --2012-11-13 10:07:35-- http://schemas.opengis.net/wfs/1.1.0/wfs.xsd%20xmlns:xs i=http://www.w3.org/2001/XMLSchema-instance%3E%3Cwfs:Query%20typeName=feature:fr ida%20srsName=EPSG:31467%20xmlns:feature=http://127.0.0.1/%3E%3C/wfs:Query%3E%3C /wfs:GetFeature%3E'%20--header=Content-Type: Resolving schemas.opengis.net... 66.244.86.52 Connecting to schemas.opengis.net|66.244.86.52|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-11-13 10:07:35 ERROR 404: Not Found. --2012-11-13 10:07:35-- http://application/xml; Resolving application... failed: No data record of requested type. wget: unable to resolve host address `application' --2012-11-13 10:07:38-- ftp://charset=utf-8%20-o%20c/%5Ctest.txt = `%5Ctest.txt' Resolving charset=utf-8 -o c... failed: No data record of requested type. wget: unable to resolve host address `charset=utf-8 -o c' Something is wrong with the host - maybe there is something missing in the tinyows configuration. Because now wget takes the application as the address instead of the coordinates of the bounding box!? I took the same ns_prefix: feature because its also defined like that in my xml -- I changed it, because i read that recommendation somewhere - made no difference. Am 11/12/2012 5:05 PM, schrieb Alexandre Dubé: Anna, What does your C:\ms4w\Apache\logs\tinows.log file contain ? Also yeah you should use --post-data='wfs:GetFeature...' and not --post-data=wfs:GetFeature If your dataset isn't too big, you could remove the ogc:Filter node. Also, try replacing xmlns:feature=http://127.0.0.1/; by xmlns:tows=http://127.0.0.1/;. HTH, Alexandre On 12-11-12 10:31 AM, aho wrote: Hi Alexandre, I already reinstalled pyhton and made the configuration of the apache server again. At least one thing I can exclude - specially because sooner or later I have to include it in another project which needs to run on a certain port. Anyhow... I also installed the wget and you are right, it helps a lot. I took the GetFeature xml from chrome and constructed the following line: wget http://localhost/cgi-bin/tinyows.exe; --post-data=wfs:GetF eature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.0.0 outp utFormat=application/json xsi:schemaLocation=http://schemas.opengis.net/wfs/1 .0.0/WFS-transaction.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; wfs:Query typeName=feature:frida xmlns:feature=http://127.0.0.1/;ogc:Filte r xmlns:ogc=http://www.opengis.net/ogc;ogc:BBOXogc:PropertyNamethe_geom/o gc:PropertyNamegml:Box xmlns:gml=http://www.opengis.net/gml; srsName=EPSG:31 467gml:coordinates decimal=. cs=, ts= 3413084,5782000 3457916,5806000 /gml:coordinates/gml:Box/ogc:BBOX/ogc:Filter/wfs:Query/wfs:GetFeature --header=Content-Type: application/xml; charset=UTF-8 -O C:/test.txt wget returned: SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\OSGeo4W\GnuWin32/etc/wgetrc --2012-11-12 16:17:16-- http://localhost/cgi-bin/tinyows.exe Resolving localhost... 127.0.0.1, ::1 Connecting to localhost|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/xml] Saving to: `C:/test.txt' [ = ] 503 --.-K/s in 0s 2012-11-12 16:17:16 (11.4 MB/s) - `C:/test.txt' saved [503] --2012-11-12
Re: [mapserver-users] tinyows
Hi, On this page there are some WFS calls which do work against my TinyOWS server http://188.64.1.61/cgi-bin/tinyows. Feel free to use it for testing. http://latuviitta.org/Http-POST-ja-Filter.php A very easy to use tool for testing POST requests is the Poster Firefox extension. This image shows how to use it. It is so simple that it should not matter that the texts I have added are in Finnish http://latuviitta.org/documents/WFS_POST_Poster.png. -Jukka Rahkonen- aho wrote: Hi Alexandre, ok, I changed to 'wfs:...', removed the Filter and got this in my -O test.txt file: ?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='InvalidParameterValue' locator='request' ows:ExceptionTextxml isn't valid/ows:ExceptionText /ows:Exception /ows:ExceptionReport This is always the same actually. This was the result and the adjusted wget command: C:\Users\Annawget http://localhost/cgi-bin/tinyows.exe --post-data='wfs:GetFe ature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.1.0 xsi:s chemaLocation=http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/w fs.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema- instancewfs:Query typeNam e=feature:frida srsName=EPSG:31467 xmlns:feature=http://127.0.0.1/;/wfs:Q uery/wfs:GetFeature' --header=Content-Type: application/xml; charset=UTF-8 -O C:\test.txt SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\OSGeo4W\GnuWin32/etc/wgetrc --2012-11-13 10:07:35-- http://localhost/cgi-bin/tinyows.exe%20--post-data='%3C wfs:GetFeature%20xmlns:wfs=http://www.opengis.net/wfs%20service=WF S%20version=1. 1.0%20xsi:schemaLocation=http://www.opengis.net/wfs Resolving localhost... 127.0.0.1, ::1 Connecting to localhost|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-11-13 10:07:35 ERROR 404: Not Found. --2012-11-13 10:07:35-- http://schemas.opengis.net/wfs/1.1.0/wfs.xsd%20xmlns:xs i=http://www.w3.org/2001/XMLSchema- instance%3E%3Cwfs:Query%20typeName=feature:fr ida%20srsName=EPSG:31467%20xmlns:feature=http://127.0.0.1/%3E%3C/wf s:Query%3E%3C /wfs:GetFeature%3E'%20--header=Content-Type: Resolving schemas.opengis.net... 66.244.86.52 Connecting to schemas.opengis.net|66.244.86.52|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-11-13 10:07:35 ERROR 404: Not Found. --2012-11-13 10:07:35-- http://application/xml; Resolving application... failed: No data record of requested type. wget: unable to resolve host address `application' --2012-11-13 10:07:38-- ftp://charset=utf-8%20-o%20c/%5Ctest.txt = `%5Ctest.txt' Resolving charset=utf-8 -o c... failed: No data record of requested type. wget: unable to resolve host address `charset=utf-8 -o c' Something is wrong with the host - maybe there is something missing in the tinyows configuration. Because now wget takes the application as the address instead of the coordinates of the bounding box!? I took the same ns_prefix: feature because its also defined like that in my xml -- I changed it, because i read that recommendation somewhere - made no difference. Am 11/12/2012 5:05 PM, schrieb Alexandre Dubé: Anna, What does your C:\ms4w\Apache\logs\tinows.log file contain ? Also yeah you should use --post-data='wfs:GetFeature...' and not --post-data=wfs:GetFeature If your dataset isn't too big, you could remove the ogc:Filter node. Also, try replacing xmlns:feature=http://127.0.0.1/; by xmlns:tows=http://127.0.0.1/;. HTH, Alexandre On 12-11-12 10:31 AM, aho wrote: Hi Alexandre, I already reinstalled pyhton and made the configuration of the apache server again. At least one thing I can exclude - specially because sooner or later I have to include it in another project which needs to run on a certain port. Anyhow... I also installed the wget and you are right, it helps a lot. I took the GetFeature xml from chrome and constructed the following line: wget http://localhost/cgi-bin/tinyows.exe; --post-data=wfs:GetF eature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.0.0 outp utFormat=application/json xsi:schemaLocation=http://schemas.opengis.net/wfs/1 .0.0/WFS-transaction.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; wfs:Query typeName=feature:frida xmlns:feature=http://127.0.0.1/;ogc:Filte r xmlns:ogc=http://www.opengis.net/ogc;ogc:BBOXogc:PropertyName th e_geom/o gc:PropertyNamegml:Box xmlns:gml=http://www.opengis.net/gml; srsName=EPSG:31 467gml:coordinates decimal=. cs=, ts= 3413084,5782000 3457916,5806000
Re: [mapserver-users] tinyows
Hi Jukka, thanks for your tips! But I don´t know where I am now. I think the host-problem was because of a wrong usage of wget. Anyhow - now it seems like I don´t have a problem anymore, which is not much better. Or at least I can say its a problem of openlayers?!... I send: wfs:GetFeature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.1.0 xsi:schemaLocation=http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;wfs:Query typeName=feature:frida srsName=EPSG:31467 xmlns:feature=http://127.0.0.1/;ogc:Filter xmlns:ogc=http://www.opengis.net/ogc;ogc:BBOXogc:PropertyNamethe_geom/ogc:PropertyNamegml:Envelope xmlns:gml=http://www.opengis.net/gml; srsName=EPSG:31467gml:lowerCorner3413173.306773 5782000/gml:lowerCornergml:upperCorner3457826.693227 5806000/gml:upperCorner/gml:Envelope/ogc:BBOX/ogc:Filter/wfs:Query/wfs:GetFeature to http://127.0.0.1/cgi-bin/tinyows.exe and got back: ?xml version='1.0' encoding='UTF-8'? wfs:FeatureCollection xmlns:feature='http://127.0.0.1/' xmlns:wfs='http://www.opengis.net/wfs' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:gml='http://www.opengis.net/gml' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:ogc='http://www.opengis.net/ogc' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ows='http://www.opengis.net/ows' xsi:schemaLocation='http://127.0.0.1/ http://127.0.0.1/cgi-bin/tinyows.xml?service=WFSamp;version=1.1.0amp;request=DescribeFeatureTypeamp;Typename=feature:frida http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/base/gml.xsd' gml:boundedBy gml:Envelope srsName=EPSG:31467gml:lowerCorner5788323.50 3427065.25/gml:lowerCornergml:upperCorner5800691.50 3443999.25/gml:upperCorner/gml:Envelope /gml:boundedBy gml:featureMember feature:frida gml:id=frida.1 feature:gfshapeid1/feature:gfshapeid feature:gftypid1/feature:gftypid feature:the_geomgml:MultiSurface srsName=EPSG:31467gml:surfaceMembergml:Polygongml:exteriorgml:LinearRinggml:posList srsDimension=23429858 5799440 3429874 5799496 3429905 5799504 3429973 5799561 3430035 5799577 3430032 5799639 3430140 5799691 3430147... and so on... so now I know - my problem is not in the configuration of my tinyows.xml and the get request is constructed correctly from my openlayers code. So where is this error that there is an invalid parameter which is always returned in my test.html when i am sending the same get feature request? Am 11/13/2012 10:41 AM, schrieb Rahkonen Jukka: Hi, On this page there are some WFS calls which do work against my TinyOWS server http://188.64.1.61/cgi-bin/tinyows. Feel free to use it for testing. http://latuviitta.org/Http-POST-ja-Filter.php A very easy to use tool for testing POST requests is the Poster Firefox extension. This image shows how to use it. It is so simple that it should not matter that the texts I have added are in Finnish http://latuviitta.org/documents/WFS_POST_Poster.png. -Jukka Rahkonen- aho wrote: Hi Alexandre, ok, I changed to 'wfs:...', removed the Filter and got this in my -O test.txt file: ?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='InvalidParameterValue' locator='request' ows:ExceptionTextxml isn't valid/ows:ExceptionText /ows:Exception /ows:ExceptionReport This is always the same actually. This was the result and the adjusted wget command: C:\Users\Annawget http://localhost/cgi-bin/tinyows.exe --post-data='wfs:GetFe ature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.1.0 xsi:s chemaLocation=http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/w fs.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema- instancewfs:Query typeNam e=feature:frida srsName=EPSG:31467 xmlns:feature=http://127.0.0.1/;/wfs:Q uery/wfs:GetFeature' --header=Content-Type: application/xml; charset=UTF-8 -O C:\test.txt SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\OSGeo4W\GnuWin32/etc/wgetrc --2012-11-13 10:07:35-- http://localhost/cgi-bin/tinyows.exe%20--post-data='%3C wfs:GetFeature%20xmlns:wfs=http://www.opengis.net/wfs%20service=WF S%20version=1. 1.0%20xsi:schemaLocation=http://www.opengis.net/wfs Resolving localhost... 127.0.0.1, ::1 Connecting to localhost|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-11-13 10:07:35 ERROR 404: Not Found. --2012-11-13 10:07:35-- http://schemas.opengis.net/wfs/1.1.0/wfs.xsd%20xmlns:xs i=http://www.w3.org/2001/XMLSchema- instance%3E%3Cwfs:Query%20typeName=feature:fr
[mapserver-users] How to access MapServer MapCache tile without using WMS layers
hi, At http://www.webmapit.com.br/inpe/topodata/?lang=en I'm using OpenLayers 2.12 + WMS layers to display layers rendered by mod MapCache (seeder). The PNG grid folder now looks like: * gridfolder 00 000 000 001 002 ... 060 000 000 000.png 001.png ... 062.png 01 02 03 000 000 002 000 000 000.png 001.png ... blanks * But, at this moment using WMS layer MapCache/Apache module is treating WMS requests and returning correct image for each access. What kind of layer should I use with OpenLayers to be able to turn off MapCache module and then use a common Apache installation? thanks, in advance Eduardo Patto Kanegae http://www.webmapit.com | @webmapit ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] tinyows
Ok, I left the poster and I am back to the tinyows.log file: [Tue Nov 13 13:35:51 2012] [ERROR] Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location 'http://127.0.0.1/cgi-bin/tinyows.xml?service=WFSrequest=DescribeFeatureTypeversion=1.1.0'. Skipping the import. I actually defined my tinyows.xml in C:/ms4w/Apache/apps/tinyows.xml in the httpd_tinyows.conf. Do you think this could be the problem? Am 11/13/2012 10:41 AM, schrieb Rahkonen Jukka: Hi, On this page there are some WFS calls which do work against my TinyOWS server http://188.64.1.61/cgi-bin/tinyows. Feel free to use it for testing. http://latuviitta.org/Http-POST-ja-Filter.php A very easy to use tool for testing POST requests is the Poster Firefox extension. This image shows how to use it. It is so simple that it should not matter that the texts I have added are in Finnish http://latuviitta.org/documents/WFS_POST_Poster.png. -Jukka Rahkonen- aho wrote: Hi Alexandre, ok, I changed to 'wfs:...', removed the Filter and got this in my -O test.txt file: ?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='InvalidParameterValue' locator='request' ows:ExceptionTextxml isn't valid/ows:ExceptionText /ows:Exception /ows:ExceptionReport This is always the same actually. This was the result and the adjusted wget command: C:\Users\Annawget http://localhost/cgi-bin/tinyows.exe --post-data='wfs:GetFe ature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.1.0 xsi:s chemaLocation=http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/w fs.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema- instancewfs:Query typeNam e=feature:frida srsName=EPSG:31467 xmlns:feature=http://127.0.0.1/;/wfs:Q uery/wfs:GetFeature' --header=Content-Type: application/xml; charset=UTF-8 -O C:\test.txt SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\OSGeo4W\GnuWin32/etc/wgetrc --2012-11-13 10:07:35-- http://localhost/cgi-bin/tinyows.exe%20--post-data='%3C wfs:GetFeature%20xmlns:wfs=http://www.opengis.net/wfs%20service=WF S%20version=1. 1.0%20xsi:schemaLocation=http://www.opengis.net/wfs Resolving localhost... 127.0.0.1, ::1 Connecting to localhost|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-11-13 10:07:35 ERROR 404: Not Found. --2012-11-13 10:07:35-- http://schemas.opengis.net/wfs/1.1.0/wfs.xsd%20xmlns:xs i=http://www.w3.org/2001/XMLSchema- instance%3E%3Cwfs:Query%20typeName=feature:fr ida%20srsName=EPSG:31467%20xmlns:feature=http://127.0.0.1/%3E%3C/wf s:Query%3E%3C /wfs:GetFeature%3E'%20--header=Content-Type: Resolving schemas.opengis.net... 66.244.86.52 Connecting to schemas.opengis.net|66.244.86.52|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-11-13 10:07:35 ERROR 404: Not Found. --2012-11-13 10:07:35-- http://application/xml; Resolving application... failed: No data record of requested type. wget: unable to resolve host address `application' --2012-11-13 10:07:38-- ftp://charset=utf-8%20-o%20c/%5Ctest.txt = `%5Ctest.txt' Resolving charset=utf-8 -o c... failed: No data record of requested type. wget: unable to resolve host address `charset=utf-8 -o c' Something is wrong with the host - maybe there is something missing in the tinyows configuration. Because now wget takes the application as the address instead of the coordinates of the bounding box!? I took the same ns_prefix: feature because its also defined like that in my xml -- I changed it, because i read that recommendation somewhere - made no difference. Am 11/12/2012 5:05 PM, schrieb Alexandre Dubé: Anna, What does your C:\ms4w\Apache\logs\tinows.log file contain ? Also yeah you should use --post-data='wfs:GetFeature...' and not --post-data=wfs:GetFeature If your dataset isn't too big, you could remove the ogc:Filter node. Also, try replacing xmlns:feature=http://127.0.0.1/; by xmlns:tows=http://127.0.0.1/;. HTH, Alexandre On 12-11-12 10:31 AM, aho wrote: Hi Alexandre, I already reinstalled pyhton and made the configuration of the apache server again. At least one thing I can exclude - specially because sooner or later I have to include it in another project which needs to run on a certain port. Anyhow... I also installed the wget and you are right, it helps a lot. I took the GetFeature xml from chrome and constructed the following line: wget http://localhost/cgi-bin/tinyows.exe; --post-data=wfs:GetF eature xmlns:wfs=http://www.opengis.net/wfs; service=WFS version=1.0.0 outp utFormat=application/json xsi:schemaLocation=http://schemas.opengis.net/wfs/1 .0.0/WFS-transaction.xsd
Re: [mapserver-users] Displaying multiple labels with the same lat/long
Not sure about clustering, but there may be other options as well: You might be able to simply use POSITION AUTO and give these labels a high priority. MapServer will place them. If you need markers in this case you'll need to draw those separately to avoid marker collisions. So, one layer for points and the other for high-priority labels. Version 6.2 supports multiple labels per feature. If you can de-normalize your data so you have 1 point plus multiple columns of companies (e.g. company1, company2, etc...) then you can use this approach. There's also leader support when things get really tight. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Ian Walberg [ian.walb...@airborne.aero] Sent: Monday, November 12, 2012 12:11 PM To: List (MapServer Users) Subject: [mapserver-users] Displaying multiple labels with the same lat/long Folks, We have some data we need to display which has a number of companies in the same city so the same lat/long. So in these cases only one of the labels is displayed. Can this be done using the cluster functionality and where do we find an easy example? 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
Re: [mapserver-users] Displaying multiple labels with the same lat/long
Steve, I thought with a layer type of point or annotation with label mode as auto that if there were 2 points with same lat/long only 1 would be displayed. Thanks Ian -Original Message- From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Tuesday, November 13, 2012 6:15 AM To: Ian Walberg; List (MapServer Users) Subject: RE: Displaying multiple labels with the same lat/long Not sure about clustering, but there may be other options as well: You might be able to simply use POSITION AUTO and give these labels a high priority. MapServer will place them. If you need markers in this case you'll need to draw those separately to avoid marker collisions. So, one layer for points and the other for high-priority labels. Version 6.2 supports multiple labels per feature. If you can de-normalize your data so you have 1 point plus multiple columns of companies (e.g. company1, company2, etc...) then you can use this approach. There's also leader support when things get really tight. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Ian Walberg [ian.walb...@airborne.aero] Sent: Monday, November 12, 2012 12:11 PM To: List (MapServer Users) Subject: [mapserver-users] Displaying multiple labels with the same lat/long Folks, We have some data we need to display which has a number of companies in the same city so the same lat/long. So in these cases only one of the labels is displayed. Can this be done using the cluster functionality and where do we find an easy example? 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
Re: [mapserver-users] Displaying multiple labels with the same lat/long
On Tue, Nov 13, 2012 at 3:18 PM, Ian Walberg ian.walb...@airborne.aerowrote: Steve, I thought with a layer type of point or annotation with label mode as auto that if there were 2 points with same lat/long only 1 would be displayed. Not if they don't have a marker symbol attached. (as in that case the marker would collide, and second label would be rejected) Thanks Ian -Original Message- From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Tuesday, November 13, 2012 6:15 AM To: Ian Walberg; List (MapServer Users) Subject: RE: Displaying multiple labels with the same lat/long Not sure about clustering, but there may be other options as well: You might be able to simply use POSITION AUTO and give these labels a high priority. MapServer will place them. If you need markers in this case you'll need to draw those separately to avoid marker collisions. So, one layer for points and the other for high-priority labels. Version 6.2 supports multiple labels per feature. If you can de-normalize your data so you have 1 point plus multiple columns of companies (e.g. company1, company2, etc...) then you can use this approach. There's also leader support when things get really tight. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Ian Walberg [ian.walb...@airborne.aero] Sent: Monday, November 12, 2012 12:11 PM To: List (MapServer Users) Subject: [mapserver-users] Displaying multiple labels with the same lat/long Folks, We have some data we need to display which has a number of companies in the same city so the same lat/long. So in these cases only one of the labels is displayed. Can this be done using the cluster functionality and where do we find an easy example? 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Can I control laber FORCE [true|false] with SLD?
Hi, Our users are generally happy with non-overlapping labels but sometimes they would rather see all the labels. Can it be controlled with SLD_BODY or do I need to do a separate layer for drawing all the labels? We can turn the default labels off with SLD so for users eyes the result would look the same. -Jukka Rahkonen- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] TinyOWS 1.1.0 release
Hi all, The 1.1.0 TinyOWS version is out. Source code: http://www.tinyows.org/release/tinyows-1.1.0.tar.bz2 From 1.0.0 release the key point was to bugfixe, to improve again performances and strict OGC standard implementation, and few userland improvements on config file. 1.1.0 Changelog: - Add include_items and exclude_items config handling. To choose exactly which columns to retrieve (Serge Dikiy) - XSD max length and enumeration constraint handling (Serge Dikiy Alan Boudreault) - First real support of typename namespace provided in request (Olivier Courtin) - Generate PK value using PostgresSQL DEFAULT value if present (Serge Dikiy) - Add pkey configuration in layer config. Usefull for instance when retrieving data from a VIEW. (Serge Dikiy) - Buffer copy performance improve (Serge Dikiy) - Rewrite/fix max features handling (Olivier Courtin) - Extent layer's properties allowed to inherit (Olivier Courtin) - Several bugfixes as usual (special thanks to Andreas Peri, Serge Dikiy and Jukka Rahkonen for detailled reports) Documentation was also refresh, including the OpenLayers HowTo. http://ci.mapserver.org/job/docsmaster/lastSuccessfulBuild/artifact/build/html/en/tinyows/index.html#tinyows Enjoy, -- Olivier ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users