[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-devel] Area of a polygon? | 
I hope I use a metric projection. Where do I have to set the projection type? I never set it or change it. In another class I'm using JTS.orthodromicDistance(..) to calculate the distance between two points and this method returns a value in [m]. 
 
tony roth
      
Are you using a metric projection?
I've never had problems with the getArea, but I always use metric
projection systems.
Ciao
Andrea
tony.roth@xxxxxx probaly wrote:
> Hi list,
> how to get the area of a polygon?
>  
> I draw a polygon roughly covering egypt and both polygon.getArea() and
> Areafunction.getArea(polygon) return something about 91.4. But what? The
> Wikipedia tells me that egypt has an area of ~1,000,000km² or 386,000 sq
> mi. Ok, my polygon is not perfect but 91,4 is neither km² nor sq mi.
>  
> Where's my fault?
>  
> tony roth
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel