[mapserver-users] Label Line Layers Question
Greetings, I am working on a tutorial for MapServer using a Postgis backend, and I just want to check if I am setting a correct example. This is my first .map file so please forgive me for my noob question. Is there a way to have text labels and lines on the same layer? Instead of two Postgis queries, I was wondering if it is possible to do with a single query. Here is the pertinent portion of my .map files: LAYER CONNECTIONTYPE postgis NAME roads CONNECTION user=postgres dbname=ca_hwy host=localhost DATA the_geom FROM (SELECT roads.oid AS oid, roads.the_geom AS the_geom, roads.fename AS fename FROM roads) AS named_roads USING UNIQUE oid USING SRID=-1 STATUS ON TYPE ANNOTATION LABELITEM fename CLASS LABEL POSITION auto ANGLE follow SHADOWCOLOR 120 255 120 SHADOWSIZE 1 1 SIZE 8 COLOR 0 192 0 FONT sans-bold TYPE truetype BUFFER 4 MINDISTANCE 200 ANTIALIAS TRUE END END END LAYER CONNECTIONTYPE postgis NAME roads CONNECTION user=postgres dbname=ca_hwy host=localhost DATA the_geom FROM roads USING UNIQUE oid USING SRID=-1 STATUS ON TYPE LINE CLASS SIZE 2 COLOR 0 0 0 END END Thanks, Jeshua Lacock, Owner http://OpenOSX.com phone: 877.240.1364 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: RE : [mapserver-users] Anit-alias Lines?
On Jun 2, 2008, at 2:32 PM, Léveillé, James wrote: In the getMap statement, add FORMAT=agg, as in http://localhost/MapServer5/mapserv.exe?map=D: \mymapfile.mapVERSION=1.1.1R EQUEST=GetMapLAYERS=allmylayersSTYLES=SRS=EPSG: 42105BBOX=678 715.039028806,298202.419835631,721017.45078271,325126.670952306 WIDTH=850HE IGHT=541BGCOLOR=0xFFEXCEPTIONS=application/ vnd.ogc.se_xmlTRANSPARENT= FALSEFORMAT=agg Thanks for the tip. I am using ka-map, so it renders beautifully now after following these brief instructions: http://ka-map.ominiverdi.org/wiki/index.php/AGG_support Thanks again, Jeshua Lacock, Owner http://OpenOSX.com phone: 877.240.1364 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Google Summer of Code projects
On Mar 31, 2008, at 12:40 PM, Daniel Morissette wrote: what's up, are there no students interested in working on MapServer? Ahhh, now if I were only a student! Ciao, Jeshua Lacock, Owner http://OpenOSX.com phone: 877.240.1364 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] millimeter accuracy
On Mar 28, 2008, at 8:57 AM, Attila Berényi wrote: Is it possible to process the submeter part of the coordinates too? If the answer is yes (what I hope), than how? I personally don't know if it supports MM, but I suppose one could always multiple their values by 1,000. Regards, Jeshua Lacock, Owner http://OpenOSX.com phone: 877.240.1364 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] upload/stream data from GPS unit?
On Mar 27, 2008, at 12:43 PM, Fawcett, David wrote: My guess is that you will need some sort of device to log the data from the GPS and then transmit it across a wireless network (pager, SMS, cell phone). At your base station, you would have capture the messages, parse them, and then probably stuff the data into a database (PostGIS?). Your MapServer map file could then point to the spatial data layer in PostGIS. Every hit to MapServer would show the latest data. Bill, I would just like to mention that if help with automating this is needed, I could easily develop a solution for Mac OS X. GIS automation on the Mac is my specialty. ;) Cheers, Jeshua Lacock, Owner http://OpenOSX.com phone: 877.240.1364 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Running with MrSID (not scissors)
On Mar 19, 2008, at 10:32 PM, Abram Gillespie wrote: Searched my archives and found a few references to MrSID ... mostly that people are getting it to work. However, is there an explicit how-to for getting MrSID going? Namely, how to compile GDAL with the support. Also, are there any licensing requirements? Hello, It might be good to share for what platform... I suspect that the GDAL list would be a more appropriate place to inquire about GDAL support. Best, Jeshua Lacock, Owner http://OpenOSX.com phone: 877.240.1364 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users