<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>&gt; Date: Tue, 14 Apr 2009 16:19:57 +0200<br>&gt; From: rldhont@gmail.com<br>&gt; To: kwonghu@hotmail.com<br>&gt; CC: dev@openlayers.org<br>&gt; Subject: Re: [OpenLayers-Dev] How to display shapefile?<br>&gt; <br>&gt; You could use ogr2ogr form GDAL/OGR<br>&gt; <br>&gt; Kwong Hu Kiu a écrit :<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Thanks for the quick reply.<br>&gt; &gt;<br>&gt; &gt; How should i do that ? Do i have to use a program to regenerate the <br>&gt; &gt; shapefile into those format ?<br>&gt; &gt;<br>&gt; &gt; Any link ?<br>&gt; &gt;<br>&gt; &gt; Cheers<br>&gt; &gt;<br>&gt; &gt; &gt; Date: Tue, 14 Apr 2009 16:16:22 +0200<br>&gt; &gt; &gt; From: rldhont@gmail.com<br>&gt; &gt; &gt; To: kwonghu@hotmail.com<br>&gt; &gt; &gt; CC: dev@openlayers.org<br>&gt; &gt; &gt; Subject: Re: [OpenLayers-Dev] How to display shapefile?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; You have to change the format : GML, JSON, KML<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Because OpenLayers is a JavaScript library, it's limited by the<br>&gt; &gt; &gt; navigator capabilities and a navigator isn't capable to read ESRI<br>&gt; &gt; &gt; ShapeFile.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Kwong Hu Kiu a écrit :<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Hi all,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; May i know how i can display shapefile using openlayers ?<br>&gt; &gt; &gt; &gt; Shapefile works with ESRI. How can i include it in openlayers ?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Any code example around ?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Cheers.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; Dev mailing list<br>&gt; &gt; &gt; &gt; Dev@openlayers.org<br>&gt; &gt; &gt; &gt; http://openlayers.org/mailman/listinfo/dev<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; <br></body>
</html>