<br><font size=2 face="sans-serif">Balint</font>
<br><font size=2 face="sans-serif">Would using the geography data type
be more suitable to what you are trying to accomplish?</font>
<br>
<br><a href=http://postgis.refractions.net/docs/ch04.html#PostGIS_GeographyVSGeometry><font size=2 face="sans-serif">http://postgis.refractions.net/docs/ch04.html#PostGIS_GeographyVSGeometry</font></a>
<br><font size=2 face="sans-serif">Doug Newcomb        
    <br>
USFWS<br>
Raleigh, NC<br>
919-856-4520 ext. 14 doug_newcomb@fws.gov<br>
---------------------------------------------------------------------------------------------------------<br>
The opinions I express are my own and are not representative of the official
policy of the U.S.Fish and Wildlife Service or Dept. of the Interior.  
Life is too short for undocumented, proprietary data formats.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Balint Persics <persicsb@gmail.com></b>
</font>
<br><font size=1 face="sans-serif">Sent by: postgis-users-bounces@postgis.refractions.net</font>
<p><font size=1 face="sans-serif">01/20/2011 06:30 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
PostGIS Users Discussion <postgis-users@postgis.refractions.net></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">postgis-users@postgis.refractions.net</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[postgis-users] Coordinates and SRID
- bound overflow, ST_Equals</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
I have a very interesting problem, but I think some of you may have a<br>
solution for that.<br>
<br>
When I try to model Russia with EPSG:4326 coordinates, I "run out
of<br>
the bounds", e.g.  Russia's extent is so wide, it overlaps the<br>
-180/+180 coordinate range of EPSG:4326, so the most<br>
eastern part is in the western Hemisphere. When inserting points to<br>
the geometry column, PostGIS allows me to insert both (186,45) and<br>
(-174,45) (the former is out of the bounds of the reference, the<br>
latter is okay). When I query the database whether these two points<br>
are equal with ST_Equals, I get a false result , but in reality, they<br>
are the same. I think there should be a version of ST_Equals which<br>
compares the geometries taking into account their SRID.<br>
<br>
Thanks,<br>
Balint<br>
<br>
-- <br>
Persics Balint<br>
_______________________________________________<br>
postgis-users mailing list<br>
postgis-users@postgis.refractions.net<br>
</font></tt><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users"><tt><font size=2>http://postgis.refractions.net/mailman/listinfo/postgis-users<br>
</font></tt></a>
<br>