<html>
<head>
<style type="text/css">
<!--
body { font-variant: normal; margin-bottom: 1px; margin-top: 4px; line-height: normal; margin-left: 4px; margin-right: 4px }
p { margin-bottom: 0; margin-top: 0 }
-->
</style>
</head>
<body style="margin-bottom: 1px; margin-top: 4px; margin-left: 4px; margin-right: 4px">
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">Peter,</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">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.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">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 MapServer and use in any of a number of image clients. I'm partial to GeoMoose, but Openlayers would work too.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">Looks like you are tracking farm field tractor locations, by entering things into a Database from the start, over the long haul you'll be able to add in things like temporal reporting as more and more data becomes available. This is where the up front heaviness will pay off.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">bobb</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<br>
<br>
>>> Peter <webwiz@pl.net> wrote:<br> </p>
<div style="padding-left: 7px; margin-bottom: 0; background-color: #f3f3f3; border-left: solid 1px #050505; margin-top: 0; margin-right: 0; margin-left: 15px">
<p style="margin-bottom: 0; margin-top: 0">
Hi Guys and Girls,<br><br>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.<br><br>Ideally it would be the simplist lightest tool/s that can do the job, bearing in mind that im working in php/mysql.<br><br>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)<br><br>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.<br><br>And theres something called mapserver which seems to be a complete service. Sounds heavy.<br><br>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.<br><br>If your'e interested a sample shapefile is here:<br> <br> <a href="http://www.zoneblue.org/files/BLK1_log.shp.zip">http://www.zoneblue.org/files/BLK1_log.shp.zip</a><br><br>with the desired result here:<br><br> <a href="http://www.zoneblue.org/files/BLK1_log.shp.jpg">http://www.zoneblue.org/files/BLK1_log.shp.jpg</a><br><br>Appreciate any pointers.<br><br>Regards<br><br>Peter Scott<br>NZ<br><br>_______________________________________________<br>Discuss mailing list<br>Discuss@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/discuss">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
</p>
</div>
</body>
</html>