Re: [mapserver-users] R
you can have a look at how bridges are done on the wiki page that accompanies the map on the mapserver.org frontpage (there's a bridge right south of the sydney exhibition center when you zoom in to the closest level, not sure why some don't show up on motorways). That, coupled with start/end geotransform should get quite close to what you want. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Fri, Jun 12, 2009 at 06:34, David Nugentdav...@datalinktech.com.au wrote: Greetings all, On Thu, 11 Jun 2009 16:37:11 +1000, I wrote: One last problem I'm scratching my head on. I want to highlight bridges by using a thick border on each side of the road (and if possible an angular section at each end of the border as often seen in traditional road maps). Using an outline won't work for this as outlines close the end points of the line segment with a border and I would prefer them to blend directly with the road to which they belong. I'm thinking a symbol would be needed but not sure how to approach it. Like (view this with a fixed width font): \/__ __ / \ (imagine lines joining \/ being thick) How to achieve such a border? Following up on my own post again... SYMBOL does not appear to be well suited (unless I'm missing something) but I've come close with GEOMTRANSFORM, however only at the start and end of a line segment using what are essentially reversed arrowheads. I read the RFC in the mapserver 5.4 documentation and it talks about plans to extend functionality of GEOMTRANSFORM (which it incorrectly refers to as GEOTRANSFORM and GEOMETRYTRANSFORM, incidentally), and I *think* either the distance or buffer might achieve most of what I need with ANGLE AUTO - to draw a parallel line segment. However neither appears to be implemented yet. Regards, David ___ 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] R
On Fri, 12 Jun 2009 16:03:41 +1000, Thomas Bonfort thomas.bonf...@camptocamp.com wrote: you can have a look at how bridges are done on the wiki page that accompanies the map on the mapserver.org frontpage (there's a bridge right south of the sydney exhibition center when you zoom in to the closest level, not sure why some don't show up on motorways). That, coupled with start/end geotransform should get quite close to what you want. Thanks Thomas, The geomtransform is ok on straight stretches but otherwise I'll consider it a work in progress - it generally looks poor on curved stretches of road. :-) I may well have to do with the thicker outlines similar to the demo map or make them smaller or something. Since the wiki is pretty much broken now (moved, unchanged base href and so on), I'm assuming the outline was done with a filled bar symbol with negative gap under the road line since it looks similar to the solution I eventually wound up with to get the borders without closing the ends of the segments. Regards, David ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Displaying maps on the mobile
Hi Can anyone give me pointers on how to display maps on the mobile. I have a good GIS web site working with mapserver and openlayers. But i need to view simplified maps on the mobile too. Is that possible. TIA pipri ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] R
Since the wiki is pretty much broken now (moved, unchanged base href and so on), I'm assuming the outline was done with a filled bar symbol with negative gap under the road line since it looks similar to the solution I eventually wound up with to get the borders without closing the ends of the segments. no, they are normal lines, except the first style (the thickest one) has butt caps. regards, thomas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Displaying maps on the mobile
Hi, I've tested iOL from opengeo [1]: iOL.js makes OpenLayers map handling and editing capabilities available on the iPhone. Works well but it's iphone specific, no other devices support (nokia, android, ...) fredj [1] http://opengeo.org/community/mobile/ On Fri, Jun 12, 2009 at 8:59 AM, padma priyavppr...@tenet.res.in wrote: Hi Can anyone give me pointers on how to display maps on the mobile. I have a good GIS web site working with mapserver and openlayers. But i need to view simplified maps on the mobile too. Is that possible. TIA pipri ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Frédéric Junod Camptocamp SA ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Displaying maps on the mobile
If the images returned by mapserver (WMS) are viewable by the mobile browser, then yes: it's supported. The main problem here is the map navigation (pan, zoom, etc ...) with OpenLayers in a mobile browser. But that's a javascript problem, not a mapserver problem. fredj On Fri, Jun 12, 2009 at 11:58 AM, padma priyavppr...@tenet.res.in wrote: Thanks but does mapserver support map creation for the mobile browser? -- Frédéric Junod Camptocamp SA ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: RE: [mapserver-users] Displaying maps on the mobile
Thanks Stephen. I have a web GIS application which runs on firefox or IE. But it does not display map on the mobile browser. The basic architecture is this: PHP page, invoking mapserver through mapfiles. I was thinking if I can get a image output from mapserver which was reduced/compressed in size it may solve the problem. when i create a basic border outline kinda map the image generated through shp2img is about 600kb which is a lot to display on a mobile. Maybe that is the reason my web page does not display on the mobile browser? -Original Message- From: stephen kelly st...@sjk.net.au Date: Fri, 12 Jun 2009 20:23:19 +1000 To: padma priya vppr...@tenet.res.in, mapserver-users@lists.osgeo.org CC: Subject: RE: [mapserver-users] Displaying maps on the mobile Hi, Technically MapServer does not know or care, what it is creating a map for, it is the website built around MapServer, that matters. But the simple answer is Yes - it can be done - we here have done 3 different solutions that we have done for mobiles. a) - simple browser (mobile or normal web browser) based that will work on any phone with a browser b) - advanced functions and maps in a client side application for windows mobiles c) - advanced JavaScript website that works on iPhones / blackberries I hope this help, if you want any more information I will (should) be around most of the weekend and can talk to you more about this. Thanks Stephen Kelly www.Peepel.com -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of padma priya Sent: Friday, 12 June 2009 8:06 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Displaying maps on the mobile Thanks but does mapserver support map creation for the mobile browser? ___ 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: RE: [mapserver-users] Displaying maps on the mobile
Hi, A few years ago I had a try with MapLab by creating an MapLab application using pure http controls for zooming and panning. It worked fine with mobile device I had that time (iPaq and another PDA that was running on .NET 4.0) over first generation GPRS connection. MapLab is gone but if you adjust the SIZE in the mapfile to suit the screen size of the mobile device the image file size should not be any problem. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta padma priya Lähetetty: 12. kesäkuuta 2009 13:57 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: RE: [mapserver-users] Displaying maps on the mobile Thanks Stephen. I have a web GIS application which runs on firefox or IE. But it does not display map on the mobile browser. The basic architecture is this: PHP page, invoking mapserver through mapfiles. I was thinking if I can get a image output from mapserver which was reduced/compressed in size it may solve the problem. when i create a basic border outline kinda map the image generated through shp2img is about 600kb which is a lot to display on a mobile. Maybe that is the reason my web page does not display on the mobile browser? -Original Message- From: stephen kelly st...@sjk.net.au Date: Fri, 12 Jun 2009 20:23:19 +1000 To: padma priya vppr...@tenet.res.in, mapserver-users@lists.osgeo.org CC: Subject: RE: [mapserver-users] Displaying maps on the mobile Hi, Technically MapServer does not know or care, what it is creating a map for, it is the website built around MapServer, that matters. But the simple answer is Yes - it can be done - we here have done 3 different solutions that we have done for mobiles. a) - simple browser (mobile or normal web browser) based that will work on any phone with a browser b) - advanced functions and maps in a client side application for windows mobiles c) - advanced JavaScript website that works on iPhones / blackberries I hope this help, if you want any more information I will (should) be around most of the weekend and can talk to you more about this. Thanks Stephen Kelly www.Peepel.com -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of padma priya Sent: Friday, 12 June 2009 8:06 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Displaying maps on the mobile Thanks but does mapserver support map creation for the mobile browser? ___ 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] Major MapServer Performance Problem on SunSolaris 10 64bit
John, I am very glad that you have brought this up. We are currently running our MapServer on Solaris 10 x86 and I believe we are running it as 32bit but I can't actually say for sure, I just used standard compile instructions. We're running on two 3GHz Xeons. I have had many complaints concerning the performance of the server and haven't even considered that MapServer might be the culprit. We have both shapefile and Oracle Spatial data sources. We've always had the server running under Solaris 10 x86 so haven't even compared it to running under a different OS. I am very interested to hear any feedback on this subject as I may have to look at moving to Linux as my OS to get the performance gains I need. - Tim Timothy J Nolte - tno...@ilpcs.com Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS:616-706-2438 Fax:616-554-6484 Web: www.ipcswirelessinc.com -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of John Westwood Sent: Friday, June 12, 2009 11:51 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Major MapServer Performance Problem on SunSolaris 10 64bit Hi, We have been developing an application with MapServer as the backend. We developed it on an SLES Linux box, we are now setting it up on the Sun Solaris 10 production server. Unfortunately, the performance of MapServer on the production machine is very slow, considerably slower than the Linux development machine (which is much less powerful). The performance problem is particularly pronounced when serving vector PostGIS layers (OpenStreetMap), but it is also noticeably slow when serving rasters. We have tested PostGIS, this is fast and therefore no the problem. I have looked at the MapServer debug file at debug level 5 and this does not reveal much, except that both the total msDrawMap() time and the mapserv request processing time are slow. So, MapServer seems to be slow across the board. The Apache log file also confirms that the MapServer requests are slow. Originally, we had MapServer compiled as 64bit and Apache as 32bit, we thought that maybe this could be the problem. So, we compiled Apache for 64bit - but has not made any difference. We are considering using 32bit Apache and 32bit MapServer but we are not sure if it will fix the problem. Does anybody have any ideas on what the problem could be or how we could go about diagnosing it? We would greatly appreciate any advice. Regards, John Westwood Great Britain Historical GIS Project ___ 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] Multi layer/class : performance
Alexandra, Hi, if you are really interested we have developed a tool here to create tiles for one of our mapping tools, and we generate about 100,000 very large mapserver maps per day and it would be easy for us to do some timing tests for you of both ways and to see which way is the fastest. One thing we have discovered is that what you do to your shape files is generally more important for speed, than what you do to your map files. Although we do not rely on min/max scale and choose manually at what zoom what information is shown, and have that in separate map files, as that is the fastest (for what we need to do). If you have any specific data / map files that you wanted me to test it on- I am sure that we could accommodate that. We can do 16,000 images one way, 16,000 the other way and time each image and see which way works. Thanks Stephen Kelly www.Peepel.com -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Alexandre Dube Sent: Friday, 12 June 2009 11:21 PM To: MAPSERVER USERS Subject: [mapserver-users] Multi layer/class : performance Hi, I wonder which of theses two cases is better : CASE 1 : Multi layer : Define one layer per scale with minscale and maxscale, each having one set of classes. CASE 2 : One layer : Define one layer only with one set of classes per scale. The classes would have the minscale and maxscale properties. I find the second case cleaner but I'm wondering about performance. Would it be slower to draw the bottom classes ( the ones with minscale properties only, for example) ? Thanks, -- Alexandre Dubé Mapgears www.mapgears.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
Re: [mapserver-users] Major MapServer Performance Problem on SunSolaris 10 64bit
I am not a Solaris expert, but if you are running mapserver as a CGI, Linux will almost surely be faster because of its (notoriously?) lower process creation cost. Now I don't have actual numbers to back this argument but a quick google reveals this thread on Sun forums: http://forums.sun.com/thread.jspa?threadID=5207554tstart=3344 http://archives.postgresql.org/pgsql-hackers-win32/2003-11/msg00044.php (third para). A solution would be using mapserver as a FastCGI. HTH, Umberto On Fri, Jun 12, 2009 at 6:28 PM, Nolte, Timtim.no...@ipcswirelessinc.com wrote: John, I am very glad that you have brought this up. We are currently running our MapServer on Solaris 10 x86 and I believe we are running it as 32bit but I can't actually say for sure, I just used standard compile instructions. We're running on two 3GHz Xeons. I have had many complaints concerning the performance of the server and haven't even considered that MapServer might be the culprit. We have both shapefile and Oracle Spatial data sources. We've always had the server running under Solaris 10 x86 so haven't even compared it to running under a different OS. I am very interested to hear any feedback on this subject as I may have to look at moving to Linux as my OS to get the performance gains I need. - Tim Timothy J Nolte - tno...@ilpcs.com Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS: 616-706-2438 Fax: 616-554-6484 Web: www.ipcswirelessinc.com -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of John Westwood Sent: Friday, June 12, 2009 11:51 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Major MapServer Performance Problem on SunSolaris 10 64bit Hi, We have been developing an application with MapServer as the backend. We developed it on an SLES Linux box, we are now setting it up on the Sun Solaris 10 production server. Unfortunately, the performance of MapServer on the production machine is very slow, considerably slower than the Linux development machine (which is much less powerful). The performance problem is particularly pronounced when serving vector PostGIS layers (OpenStreetMap), but it is also noticeably slow when serving rasters. We have tested PostGIS, this is fast and therefore no the problem. I have looked at the MapServer debug file at debug level 5 and this does not reveal much, except that both the total msDrawMap() time and the mapserv request processing time are slow. So, MapServer seems to be slow across the board. The Apache log file also confirms that the MapServer requests are slow. Originally, we had MapServer compiled as 64bit and Apache as 32bit, we thought that maybe this could be the problem. So, we compiled Apache for 64bit - but has not made any difference. We are considering using 32bit Apache and 32bit MapServer but we are not sure if it will fix the problem. Does anybody have any ideas on what the problem could be or how we could go about diagnosing it? We would greatly appreciate any advice. Regards, John Westwood Great Britain Historical GIS Project ___ 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