<p dir="ltr">Thank you so much Hanlie </p>
<div class="gmail_quote">On 12 Oct 2013 3:11 AM, "Hanlie Pretorius" <<a href="mailto:hanlie.pretorius@gmail.com">hanlie.pretorius@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Solly,<br>
<br>
I get the following values for the extents in the two coordinate<br>
reference systems:<br>
<br>
WGS 84: xMin,yMin 22.7357,-34.2139 : xMax,yMax 30.1947,-30.0018<br>
<br>
EPSG:3857: xMin,yMin 2530931.00,-4057554.48 : xMax,yMax 3361260.85,-3503781.21<br>
<br>
So the coordinates you gave are in WGS 84 decimal degrees, not the<br>
Google projection (our two sets of values are probably slightly<br>
different because we're not using the same shapefile; I'm using the<br>
Municipal Demarcation Board's data).<br>
<br>
To reproject the shapefile from WGS84 to Google projection, I<br>
right-cllicked the file, selected Save as... and clicked Browse... in<br>
the CRS section.<br>
<br>
Then I typed EPSG:3857 into the Filter text box and saw WGS84 / Pseudo<br>
Mercator in the description. I selected that CRS (only one should be<br>
visible) and clicked OK.<br>
<br>
When you open the reprojected shapefile and zoom to the layer (without<br>
reproject on the fly enabled), you should see coordinates in the range<br>
I quoted above.<br>
<br>
Hope this helps.<br>
<br>
Cheers<br>
Hanlie<br>
<br>
2013/10/11, Solly Vuso <<a href="mailto:sollyvuso@gmail.com">sollyvuso@gmail.com</a>>:<br>
> Thank you Hanlie<br>
><br>
> It does work after I followed your instruction but it zoom very close even<br>
> though I used the provincal extent , I think I am still missing something<br>
> here.<br>
><br>
> This is what I see on the metadata<br>
><br>
> xMin,yMin 22.7357,-34.2139 : xMax,yMax 30.1947,-30.0018<br>
><br>
><br>
> On Thu, Oct 10, 2013 at 9:09 PM, Hanlie Pretorius <<br>
> <a href="mailto:hanlie.pretorius@gmail.com">hanlie.pretorius@gmail.com</a>> wrote:<br>
><br>
>> 1. Load your Ecape shapefile and use the Vector - Research tools -<br>
>> Polygon from layer extent menu to find the extents of the Ecape.<br>
>><br>
>> 2. Reproject the extent polygon into Google projection (EPSG:3857).<br>
>><br>
>> 3. Look at the metadata in the properties of the reprojected extent<br>
>> polygon layer to find the min and max X and Y values.<br>
>><br>
>> Cheers<br>
>> Hanlie<br>
>><br>
>> > Date: Thu, 10 Oct 2013 18:18:56 +0200<br>
>> > From: Solly Vuso <<a href="mailto:sollyvuso@gmail.com">sollyvuso@gmail.com</a>><br>
>> > To: Africa local chapter discussions <<a href="mailto:africa@lists.osgeo.org">africa@lists.osgeo.org</a>><br>
>> > Subject: Re: [OSGeo Africa] converting shapefile to get Google extent<br>
>> >       co-ordinates<br>
>> > Hi<br>
>> ><br>
>> > Can someone assist me I have a provincial shapefile that I want to use<br>
>> > it<br>
>> > for pmapper and geomoose bt am struggling to get the exact extent for<br>
>> > my<br>
>> > province .<br>
>> ><br>
>> > Please assist me to get the right google projections<br>
>> ><br>
>> > Am in Eastern Cape , South Africa and I need the provincial boundary<br>
>> extent<br>
>> > in Google projections<br>
>> ><br>
>><br>
><br>
><br>
><br>
> --<br>
> Best Regards<br>
><br>
> Solly Vuso<br>
> Cell:<a href="tel:073%203068%20170" value="+27733068170">073 3068 170</a><br>
> Fax:<a href="tel:086%20555%201270" value="+27865551270">086 555 1270</a><br>
><br>
> I may not know what tomorrow holds for me but I do know who holds ma<br>
> tomorrow.....<br>
><br>
</blockquote></div>