[mapserver-users] documentation about interaction between Mapserver and Webserver software
Hi, I work to a thesis about WebGis architecture an I need some documentation about interaction between Mapserver and Webserver software. Where I can find any documentation about this subject? Thank you, Cristian -- View this message in context: http://n2.nabble.com/documentation-about-interaction-between-Mapserver-and-Webserver-software-tp4546690p4546690.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] PHP MapScript pixel coordinates to map coordinates
Seems like noone have answered this yet... In fact, it is as easy as using proportions. Mapservers mapextent is given in units of the actual projection of the maå. If you need to have the extent in another projection, the cornerpoints can be reprojected. Morten -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Shorthouse, David Sent: Wednesday, January 20, 2010 4:57 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] PHP MapScript pixel coordinates to map coordinates Folks, This question has no doubt been asked many times, but for the life of me I cannot find a solution. Here's what I'm trying to do: I have a jQuery-based front-end that uses the wonderful jcrop extension (http://deepliquid.com/content/Jcrop.html) that helps coordinate zoom. I'm hoping to use this same front-end to permit cropping of a resultant map image, which means I need to pass the four pixel corner coordinates, convert to map coordinates (projection may be variable), then set the extent such that the resultant map image will have the same dimensions as that described by the user on the front-end. So, how can I convert pixel coordinates to map coordinates? Note that the map projection is not always DD so I cannot merely use proportions as I have seen in some solutions. Surely this is easier than I am making it out to be. Thanks for any advice, David Shorthouse ___ 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] documentation about interaction between Mapserver and Webserver software
On 2/10/2010 4:00 AM, Vasile Cristian Stan wrote: Hi, I work to a thesis about WebGis architecture an I need some documentation about interaction between Mapserver and Webserver software. Where I can find any documentation about this subject? Thank you, Cristian Christian, I think you need to be a little more specific about on what your want. For example, mapserver runs as a CGI or FastCGI application.or as mapscript with wrappers for PHP, Perl, Python, C#, and many more. These are wrappers to the mapserver library that bring that functionality into those respective languages. Mapserver also support OGC protocols like WMS, WFS, WCS, SOS, SLD, probably some others. Mapserver is optionally built with GDAL/OGR that gives it access to a huge number of vector and raster GIS data formats. There are also multiple database connectors that allow mapserver to pull data from databases like PostgreSQL/PostGIS, Oracle, MySQL, ODBC (via OGR), SQLite (via OGR), etc. You are asking about mapserver intereactions with the web server, what are typical interactions that you might be interested in? -Steve W ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Changelog of version 4 to 5
Hello list members, currently I am doing a migration of our servers and changed mapserver from version 4.10 to the latest 5.6. As I figured out some problems with the syntax of the map file I wanted to know where I can find some kind of 'changelog' for mapfile syntax between the versions. I remember that there was somehing on the old web site layout but I am not able to find it anymore. Could someone please help me out with a document, Christian ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Changelog of version 4 to 5
Christian Braun schrieb: Hello list members, currently I am doing a migration of our servers and changed mapserver from version 4.10 to the latest 5.6. As I figured out some problems with the syntax of the map file I wanted to know where I can find some kind of 'changelog' for mapfile syntax between the versions. I remember that there was somehing on the old web site layout but I am not able to find it anymore. Could someone please help me out with a document, The migration guides are here: 4.x. - 5.0 http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT 5.0 - 5.2 http://trac.osgeo.org/mapserver/browser/branches/branch-5-2/mapserver/MIGRATION_GUIDE.TXT 5.2 - 5.4 http://trac.osgeo.org/mapserver/browser/branches/branch-5-4/mapserver/MIGRATION_GUIDE.TXT (I'm not sure if the obove are all the same) 5.4 - 5.6 http://trac.osgeo.org/mapserver/browser/branches/branch-5-6/mapserver/MIGRATION_GUIDE.TXT They should be referenced in the docs, but I don't have a link handy. Lars ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] hyper-threading and performance
Hey Mark, If you're looking to speed up GeoMOOSE (or any MapServer Installation) there are a few general rules to follow: 1) GM Specific - As of 2.0+ it's actually A LOT easier to have multiple layers in a single image. The CPU capabilities doesn't help here, but the client has less images to download and will appear to be a bit faster. 2) MS General - INDEXES, TILING, INDEXES. If you don't want to use shptree and the various shp* utils for indexing and tiling your dataset then you might want to try putting the data into PostGIS. Especially datasets like road ways and parcels. Your aerials will generally better from more CPU capability. - Original Message From: Andy Colson a...@squeakycode.net To: Mark Volz markv...@co.lyon.mn.us Cc: mapserver-users@lists.osgeo.org Sent: Mon, February 8, 2010 3:03:38 PM Subject: Re: [mapserver-users] hyper-threading and performance Yeah, I've heard the same thing. If your system is cpu bound then I'd bet the difference between enabled and disabled is minimal (regardless if the difference is faster or slower). 20% either way is not very much. If your not cpu bound, I'd bet you see no difference at all. Of course, these are hugely big guesses. And probably wrong. I dont have any numbers to share. Sorry. -Andy On 2/8/2010 2:48 PM, Mark Volz wrote: Andy, To be more specific: I am using GeoMoose. GeoMoose draws each layer separately so we do benefit by having a multi-core processor even if there is only one user. We also are using a WMS Service so air photos is for the most part a non issue. If my understanding is correct hyper-threading has up to a 20 percent increase in speed. However, the performance increase is highly application specific and in some cases performance may actually be lower with Hyper-Threading enabled. Mark Volz GIS Specialist Lyon County, MN -Original Message- From: Andy Colson [mailto:a...@squeakycode.net] Sent: Monday, February 08, 2010 2:30 PM To: Mark Volz Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] hyper-threading and performance On 2/8/2010 2:20 PM, Mark Volz wrote: Hello, Does anyone know if the performance of Mapserver is increased if hyper-threading is enabled? If so how much? Mark Volz GIS Specialist Lyon County, MN Hey Mark, What sort of usage are we talking? Web hosting? Shapefiles and arials? I'm not sure if mapserver itself will use mult-threads, but if you have multiple requests comming into a website, apache/cgi/mapserver/etc will use multi process/threads/etc. Its tough to say the performance increase. I'm host several maps on a dual-core box, and the cpu's sit around 2 percent. And with lots of arial imagery you might hit disk io limit before you hit cpu limit. (However, I have had some mrsid files that were really cpu intensive to uncompress, they were cpu bound). Are your cpu's even pegged? So, I guess, the answer is, it really depends on a lot of different variables. -Andy ___ 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] CGI-wrapper script on windows / openlayers wmsgetfeatureinfo
I have mapserver up and running, now I'm trying to use openlayers. Some simpler pars work fine, but when I get to OpenLayers.Control.WMSGetFeatureInfo I need to use a wrapper script to hide the map= parameter, but how to do that on windows? Or, is there some way to add the parameter? I have tried querier = new OpenLayers.Control.WMSGetFeatureInfo({ url: url, title: Test, map:wmsfile, layers: [mobile], queryVisible: true }); where the wmsfile is a pointer to the wmsfile in the filesystem (works fine in OpenLayers.Layer.WMS) but when the query is sent, the map-parameter has not been taken into account. Do I need a wrapper script, or have I overlooked something in openlayers? Morten Sickel Norwegian Radiation Protection Authority ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] mouseover with mapserver...?
It's kinda dependent on what client environment you're using. OpenLayers, for example, has a hover control that you can use to do this. This site uses that technique to provide tooltips. http://www.dnr.state.mn.us/waters/csg/index.html Basically if you pause the mouse for n seconds you fire a hover event which does a MapServer query. Watch the above site in firebug and you'll see 'em. If the query fails (nothing of interest was found) the no tooltip is displayed. In the example you mention is relevant to image map creation and my guess that's not what your after. What client environment are you using? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Chris Green Sent: Wednesday, February 10, 2010 11:07 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] mouseover with mapserver...? Hi all I am using ms4w and have managed to make a number of maps work really well. However one thing I would really like to implement is a mouseover function which indicates and/or highlights features without requiring a click. There is a link to a good example of this on the Mapserver website: http://maps.dnr.state.mn.us/cgi-bin/mapserv48?map=/usr/local/www/docs_maps/eco/rsg/search/search_example.mapqlayer=countymode=nquerysearchmap=true It is probably my lack of web/javascript design experience but the fact is that I have totally failed to make any kind of mouseover work with mapserver. Can anyone provide the source code of something that works? Chris ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mouseover with mapserver...?
Chris, this is more a client side implementation. OpenLayers e.g. offers functionalities to implement sth. like that, theres also a Mapbender tool which is able to deal with that. I think it's worth to have a look for your client, in which you want to represent your maps. I am not aware at any mapscript-mapserver functionality doing that, but I personally never used that part of mapserver What you see in your link is also a kind of webmapping-client (usually defined as a template in the mapfile), you can look behind if you browse the source code of that site. Regards, Till Chris Green wrote: Hi all I am using ms4w and have managed to make a number of maps work really well. However one thing I would really like to implement is a mouseover function which indicates and/or highlights features without requiring a click. There is a link to a good example of this on the Mapserver website: http://maps.dnr.state.mn.us/cgi-bin/mapserv48?map=/usr/local/www/docs_maps/eco/rsg/search/search_example.mapqlayer=countymode=nquerysearchmap=true http://maps.dnr.state.mn.us/cgi-bin/mapserv48?map=/usr/local/www/docs_maps/eco/rsg/search/search_example.mapqlayer=countymode=nquerysearchmap=true It is probably my lack of web/javascript design experience but the fact is that I have totally failed to make any kind of mouseover work with mapserver. Can anyone provide the source code of something that works? Chris ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- - terrestris GmbH Co. KG Irmintrudisstrasse 17 53111 Bonn Germany Till Adams Geschäftsführung Tel: +49 (0)228 / 962 899-52 Fax: +49 (0)228 / 962 899-57 ad...@terrestris.de http://www.terrestris.de Amtsgericht Bonn, HRA 6835 - Komplementärin: terrestris Verwaltungs GmbH vertreten durch: Hinrich Paulsen, Till Adams ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Announcement: DraconesPH, a surveillance app built with Dracones
Dear GIS community and MapServer users, Sending messages of this type won't become an habit, I promise, but I thought once more that some of you could be interested by the first release of DraconesPH, an open source web mapping and surveillance application currently in use by the Montreal Public Health, and built with the Dracones framework that I released a little earlier. The DraconesPH features: * UI built with the Ext JS library * PostGIS randomly generated data model * SaTScan (a space-time scan statistics software) visualization module You can read more about, or try it on the Dracones site: http://surveillance.mcgill.ca/dracones/draconesph/index.php Best regards, Christian Jauvin ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users