[OpenLayers-Dev] how to overlay jpg and shapefile
jachym.cepicky at gmail.com
Tue Feb 26 01:22:22 EST 2008
arjun dheer píše v Po 25. 02. 2008 v 17:07 -0800:
> I am new to openlayers. I need some help regarding overlaying of
> shapefile over a jpg. What I am trying to do is display a jpg using
> openlayers and then overlaying and displaying the shapefile containing
> data for the area shown in the jpg. Please let me know how such a
> thing is possible? Also, is there an example showing such a
No, it is not possible. OpenLayers are not able to handle Shapefiles
directly. You have to either setup mapserver  or convert shapefile to
some xml format, such as GML (KML, GeoRSS) .
For the jpeg part, you can use OpenLayers.Layer.Image class , which
is working nice.
e-mail: jachym.cepicky gmail com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080226/283d27ab/attachment.bin
More information about the Dev