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

Sebastian E. Ovide sebastian.ovide at gmail.com
Mon Aug 16 14:15:07 PDT 2010


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 9:41 PM, Peter <webwiz at pl.net> wrote:

> 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/mysql.
>
> I found a script which did the whole thing in php (jjfmapper) which
> functions except development has stopped, and it doesnt support the version
> of shapefile i have. (jjfmapper reports it to be type 768)
>
> The GDAL/OGR library is reported to do conversions of shapefiles to mysql.
> Would need to add on the png rendering using GD2.  Im sure i dont need to
> reinvent that.
>
> And theres something called mapserver which seems to be a complete service.
>  Sounds heavy.
>
> The shapefile concerned contains a moderate number of simple polylines.
> Ideally the end result would be a png, a world file, and/or going further,
> being able to overlay the png over an aerial photo or png basemap.
>
> If your'e interested a sample shapefile is here:
>    http://www.zoneblue.org/files/BLK1_log.shp.zip
>
> with the desired result here:
>
>  http://www.zoneblue.org/files/BLK1_log.shp.jpg
>
> Appreciate any pointers.
>
> Regards
>
> Peter Scott
> NZ
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>



-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20100816/d79acfac/attachment-0002.html>


More information about the Discuss mailing list