<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><style>.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
<br><div>Which is the recommended format to convert shapefile to ?<br></div><br>I assume i can load the *.shp into ogr2ogr and it should generate a *.kml file for me if i choose KML format.<br>Is that right ?<br><br>Thanks<br><br>> Date: Tue, 14 Apr 2009 16:19:57 +0200<br>> From: rldhont@gmail.com<br>> To: kwonghu@hotmail.com<br>> CC: dev@openlayers.org<br>> Subject: Re: [OpenLayers-Dev] How to display shapefile?<br>> <br>> You could use ogr2ogr form GDAL/OGR<br>> <br>> Kwong Hu Kiu a écrit :<br>> ><br>> ><br>> > Thanks for the quick reply.<br>> ><br>> > How should i do that ? Do i have to use a program to regenerate the <br>> > shapefile into those format ?<br>> ><br>> > Any link ?<br>> ><br>> > Cheers<br>> ><br>> > > Date: Tue, 14 Apr 2009 16:16:22 +0200<br>> > > From: rldhont@gmail.com<br>> > > To: kwonghu@hotmail.com<br>> > > CC: dev@openlayers.org<br>> > > Subject: Re: [OpenLayers-Dev] How to display shapefile?<br>> > ><br>> > > You have to change the format : GML, JSON, KML<br>> > ><br>> > > Because OpenLayers is a JavaScript library, it's limited by the<br>> > > navigator capabilities and a navigator isn't capable to read ESRI<br>> > > ShapeFile.<br>> > ><br>> > > Kwong Hu Kiu a écrit :<br>> > > ><br>> > > > Hi all,<br>> > > ><br>> > > > May i know how i can display shapefile using openlayers ?<br>> > > > Shapefile works with ESRI. How can i include it in openlayers ?<br>> > > ><br>> > > > Any code example around ?<br>> > > ><br>> > > > Cheers.<br>> > > ><br>> > > ><br>> > > ><br>> > > ><br>> > > > <br>> > ------------------------------------------------------------------------<br>> > > ><br>> > > > _______________________________________________<br>> > > > Dev mailing list<br>> > > > Dev@openlayers.org<br>> > > > http://openlayers.org/mailman/listinfo/dev<br>> > > ><br>> > ><br>> <br></body>
</html>