[mapserver-users] RE: Query-wrong results in IE8 if zoomsize is not 100%
There are no such problems with FF4 and it is definetly not a tolerance problem since it appears at both higher and lower zoom size. What's wrong with the page ? I think its a good example to illustrate the basic concepts... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Query-wrong-results-in-IE8-if-zoomsize-is-not-100-tp6530144p6532131.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] Plotting points as a line from sqlite database
ST_MAKELINE() does exist in recent versions of Spatialite. It doesn't appear to have made it in to the docs, but it can be seen in this example from the cookbook. http://www.gaia-gis.it/spatialite-2.4.0-4/spatialite-cookbook/html/pp-adjacent.html Another example is in this thread from the Spatialite list: http://groups.google.com/group/spatialite-users/browse_thread/thread/0020f8e907ae9226 You will likely need recent versions of both Spatialite and OGR to make it work. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge Sent: Wednesday, June 29, 2011 10:49 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Plotting points as a line from sqlite database On 6/29/2011 10:13 PM, Ian Walberg wrote: I hope this isn't too stupid a question. Would like to display a list of positions in an sqlite database as a line, to show the flight path of an aircraft. The data is in the db as Lat, Long and point (lat, long) We can display the positions as individual dots but not as a line, I fear the problem is that the data is a point. As the data is being accumulated we would prefer not to create a new line in the database each time if possible. Any suggestions to what options we have would be appreciated. Hi Ian, In postgis there is an aggregrate function makeline() that you can feed points to. I think there may be an equivalent function in SpatiaLite. In sqlite, you might be able to use a group_concat() something like: select 'LINESTRING('|| group_concat(lat||' '||long, ',') ||')' from points; But I think the issue will be that this is not a format that mapserver understands. You might be able to access this via GDAL/OGR but I'm not sure on that. -Steve W ___ 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] Plotting points as a line from sqlite database
Assuming you are using something like Openlayers as the client you could use json to return the data pts formatted as a linestring. This would give you better options to show attribute data as a popup etc. like in the example http://openlayers.org/dev/examples/vector-formats.html On Wed, Jun 29, 2011 at 9:13 PM, Ian Walberg ian.walb...@airborne.aero wrote: I hope this isn't too stupid a question. Would like to display a list of positions in an sqlite database as a line, to show the flight path of an aircraft. The data is in the db as Lat, Long and point (lat, long) We can display the positions as individual dots but not as a line, I fear the problem is that the data is a point. As the data is being accumulated we would prefer not to create a new line in the database each time if possible. Any suggestions to what options we have would be appreciated. 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] Re: EPSG:42304 - EPSG:3978? or 3979?
I'll ignore the questions and replies that have hijacked the thread and say a big thank you to both Frank and Jeff. I'll start looking into specifically what's required to switch our apps from EPSG:42304 to EPSG:3978 (now that I know which one it should be). Thanks to you both! And, Frank...nice to hear from you. Hope all is well! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/EPSG-42304-EPSG-3978-or-3979-tp6530222p6533451.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] mapserver SLD element font style : underline
hello i've the same trouble with halo and radius radius break halo definition but my question is about to underline font in label with SLD does sld:CssParameter name=font-styleunderline/sld:CssParameter should work ? i try in mapserver and on udig it is the same unworking . regards Tonton /usr/lib/cgi-bin/mapserv -v MapServer version 6.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapserver SLD Scale
hello i'd like to find sample for min/maxscale in a sld synthax and where to write it in the file for show label of point in different scale that seen label or together for first ;) regards tonton ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Mapserver 5.6.6 and Python mapscript
I am trying to get the python mapscript up and running on an Ubuntu box from a mapserver tar file. I've gone through the README and followed the steps, although I am not sure what appropriate changes I need to make in the test.map file. I am running into 2 issues when running the tests: test saving query to a file ... ERROR set image of new symbolObj ... Segmentation fault I successfully compiled mapserver using the following config settings: --enable-runpath --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config --with-proj=/usr/local --with-php=/usr/include/php5 --with-gd=/usr/local --with-freetype=/usr/local --with-png=/usr/local --with-jpeg=/usr/local --with-libiconv=/usr/local --with-wmsclient --with-postgis=/usr/lib/postgresql/8.3/bin/pg_config Any pointers would be appreciated. Dan -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-5-6-6-and-Python-mapscript-tp6534460p6534460.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 5.6.6 and Python mapscript
Any reason not to use ubuntugis repository? https://wiki.ubuntu.com/UbuntuGIS j 2011/6/30 ChiefDan chief...@gmail.com: I am trying to get the python mapscript up and running on an Ubuntu box from a mapserver tar file. I've gone through the README and followed the steps, although I am not sure what appropriate changes I need to make in the test.map file. I am running into 2 issues when running the tests: test saving query to a file ... ERROR set image of new symbolObj ... Segmentation fault I successfully compiled mapserver using the following config settings: --enable-runpath --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config --with-proj=/usr/local --with-php=/usr/include/php5 --with-gd=/usr/local --with-freetype=/usr/local --with-png=/usr/local --with-jpeg=/usr/local --with-libiconv=/usr/local --with-wmsclient --with-postgis=/usr/lib/postgresql/8.3/bin/pg_config Any pointers would be appreciated. Dan -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-5-6-6-and-Python-mapscript-tp6534460p6534460.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 -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
AW: [mapserver-users] mapserver SLD Scale
hi, here an online example for MinScaleDenominator.../MinScaleDenominator MaxScaleDenominator.../MaxScaleDenominator of a polygonlayer. http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_Demo/MapServe r_SLD_Demo.asp?SLDsrcIdx=37 http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_Demo/MapServ er_SLD_Demo.asp?SLDsrcIdx=37mapservVersion=6.0.0SLDsrcSet=gis.ibbeck.de mapservVersion=6.0.0SLDsrcSet=gis.ibbeck.de Arnd _ Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von Tonton Gesendet: Donnerstag, 30. Juni 2011 17:48 An: mapserver-users Betreff: [mapserver-users] mapserver SLD Scale hello i'd like to find sample for min/maxscale in a sld synthax and where to write it in the file for show label of point in different scale that seen label or together for first ;) regards tonton ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users