abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ck <ch.ko...@googlemail.com>
Subject Re: Abdera geo extension and international dateline
Date Thu, 15 Apr 2010 07:28:54 GMT
Hi Nathan,

I'm not a committer at this project. Best would probably be if you
wait for some days and if no one pick it up, open a JIRA issue and
ping some of the committers directly.

regards

ck



2010/4/15 Reese, Nathan <nreese@integrity-apps.com>:
> ck,
>
> Thanks for the links.  Good to know where the rule of 179 comes from.
>
> Looks like the code just needs to use absolute values.  See attached code to
> fix the problem.  Can you check this in for me?
>
> Thanks,
>
> Nathan
>
>
> -----Original Message-----
> From: ck [mailto:ch.ko123@googlemail.com]
> Sent: Wed 4/14/2010 5:06 PM
> To: dev@abdera.apache.org
> Subject: Re: Abdera geo extension and international dateline
>
> Hi Nathan,
>
> I googled a bit around and found the following in the official GeoRSS
> Wiki: http://www.georss.org/gml#Polygon
> http://www.georss.org/Encodings#Geometry
> At first view it seems the current implementation is a bit too simple
> regarding the edge cases. Would like to have a look into the
> specification draft/document, but didn't find it.
>
> regards
>
> ck
>
>
>
>
> 2010/4/14 Reese, Nathan <nreese@integrity-apps.com>:
>> I am using the abdera geo extension to geo-tag Atom feeds.  The exception
>> "RuntimeException: Values are greater than 179 degrees" is thrown when
>> generating a valid polygon that crosses the international dateline (see
>> attached junit).
>>
>> The exception is getting thrown by the method
>> org.apache.abdera.ext.geo.Multiple verify179Rule.  I am not sure what this
>> method is attempting to accomplish or why the same value is used to verify
>> both latitude and longitude values.  Any insight would be greatly
>> beneficial.
>>
>> Nathan
>>
>>
>
>
>

Mime
View raw message