Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-17 Thread Bob Basques
All, Well, one could go old school, and just store the SHP files as the sourced data. Have mapserver read them directly, either via a dynamically modified index file, or via dynamically built MAPFILE. This would be just about the least amount of moving parts and still get you what you are l

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-17 Thread Brent Fraser
Peter, If all you want to do is render a shapefile to a png image using a command line (once? twice? many times?) then mapserver's shp2img is a good solution, or even GDAL's gdal_rasterize (http://www.gdal.org/gdal_rasterize.html). But if you need a web mapping framework (html, javascript

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Micha Silver
On Mon, 16 Aug 2010 20:41:41 -0700 Mike Toews wrote: > On 16 August 2010 15:39, Peter wrote: > > - open a http socket to a CGI eg > > Opps, my bad. MapServer operates in two modes: CGI and MapScript. It > looks like you want to go into MapScript mode for your application. > Available in almost

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Noli Sicad
BTW, QGIS has mapserver export plugin that exports *.map file and at this time save your layers (e.g. shapefile, etc.) in various format (png, jpeg, agg, etc) and open your mapserver to see web map. Noli On 8/17/10, Mike Toews wrote: > On 16 August 2010 15:39, Peter wrote: >> - open a http sock

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Mike Toews
On 16 August 2010 15:39, Peter wrote: > - open a http socket to a CGI eg Opps, my bad. MapServer operates in two modes: CGI and MapScript. It looks like you want to go into MapScript mode for your application. Available in almost all of the P languages: PHP, Perl and Python. #!/usr/bin/python im

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Chris Holmes
Thanks for the OpenGeo Suite shout out, but at 250 megs for the download, installing a full database and webserver, I think it's about the furthest thing from "light" on this list. Hoping to get it to the point where it's a cloud deployment and you could just make what you want to do a handful

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Noli Sicad
Peter, You want "light" and easy to start developing your WMS in Windows or in Linux. Get OpenGeo Suite. http://opengeo.org/ # PostGIS # GeoServer # GeoWebCache # OpenLayers # GeoExt Recent version of the Community Edition is 2.1.2. http://opengeo.org/community/suite/download/ Read the WMS Ben

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Peter
There is lots of documentation[2] and even a book[3]. Definition of a heavy app: one that requires a book. ;-) Honestly it sounds scalable, robust, all round good, and ill take the thing to bed with me for the next month, really, im a map freak. MapServer is not so much a complete server, as

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Mike Toews
On 16 August 2010 13:41, Peter wrote: > And theres something called mapserver which seems to be a complete service. >  Sounds heavy. MapServer is not so much a complete server, as just a simple CGI executable (about a megabyte in size). You only need to craft a MAP file, which is a tricky text fi

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Sebastian E. Ovide
Hi Peter, if you plan to have more shape files in the future you can use MapServer + Gdal. If you use Linux, GDAL and MapServer are pretty easy to install... it integrates very well with Google Maps and it can read any format supported by gdal. hope that helps.. regards On Mon, Aug 16, 2010 at

Re: [OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Bob Basques
Peter, Ok, this is all going to sound a bit "heavy" (to use your words), but in the end you'll have a lot more flexibilty with the end toolset. I would suggest loading the SHP file data into a Database, Mysql would work, but POSTGIS would be better. Then source that Spatial data via MapServe

[OSGeo-Discuss] Best tool, shapefile to png, web

2010-08-16 Thread Peter
Hi Guys and Girls, After an embarrassingly protracted google session, im not doing so well. What i need is to turn a shapefile (from a trimble device) into a png as part of a web app. Ideally it would be the simplist lightest tool/s that can do the job, bearing in mind that im working in php/