Hi Michael,

I have committed a change to the gml2 bindings which should handle this 
case now. Its a temporary fix until Martin can implement the adapter we 
talked about.

Michael, are you working from a source checkout or downloading 
snapshots? If working from source can you update your checkout, rebuild 
and try again.

Thanks,

-Justin

Michael Lutz wrote:
> Hi Justin and all,
> 
> I have to paddle back again... :-(
> 
> Don't know what I did (or where my head was) yesterday but I keep 
> getting the exceptions again today, even when including all the GT libs.
> 
> Now my stack trace starts with a number of
> 
> 25-Jan-2007 14:19:38 
> org.geotools.referencing.factory.epsg.FactoryUsingSQL getAuthority
> WARNING: SQLException: Unexpected token: [ in statement [SELECT 
> VERSION_NUMBER, VERSION_DATE FROM ]
> java.sql.SQLException: Unexpected token: [ in statement [SELECT 
> VERSION_NUMBER, VERSION_DATE FROM ]
> (...)
> 
> exceptions befor the
> 
> java.lang.RuntimeException: Parsing failed for Polygon: 
> org.opengis.referencing.NoSuchAuthorityCodeException: Authority "HTTP" 
> is unknown or doesn't match the supplied hints. Maybe it is defined in 
> an unreachable JAR file?
> 
> Sorry it wasn't an easy fix after all...
> 
> Michael
> 
> 
> Justin Deoliveira wrote:
>> No problem Michael, this is a surprise to me too :). Glad it is working 
>> for you. That was an easy one to fix ;).
>>
>> -Justin
>>
>> Michael Lutz wrote:
>>> Hi Justin and all,
>>>
>>> thanks again for the help on this. I'm afraid the error was lying on 
>>> my side though. I just noticed that I hadn't included any of the epsg 
>>> modules in my project (I'm never sure which of the many GT libs I 
>>> really need...). When I include gt2-epsg-wkt-2.4-SNAPSHOT.jar for 
>>> example, the parsing works fine.
>>>
>>> Does that make sense? And sorry for bothering you with this (still all 
>>> pretty new to me...)!
>>>
>>> Cheers,
>>> Michael
>>>
>>> Justin Deoliveira wrote:
>>>> Done.
>>>>
>>>> http://jira.codehaus.org/browse/GEOT-1136
>>>>
>>>> Martin Desruisseaux wrote:
>>>>> Le mercredi 24 janvier 2007 à 07:59 -0800, Justin Deoliveira a écrit :
>>>>>> We solved this before by implementing an adapter which wrapped the 
>>>>>> normal EPSGProvider. I believe the same solution will work for this 
>>>>>> case.
>>>>>>
>>>>>>> (...)
>>>>>>> <gml:featureMember>
>>>>>>>    <orch:portugal_fires fid="portugal_fires.1">
>>>>>>>       <orch:the_geom>
>>>>>>>     <gml:Point 
>>>>>>> srsName="http://www.opengis.net/gml/srs/epsg.xml#4258";>
>>>>>>>            <gml:coordinates (...) />
>>>>>>>          </gml:Point>
>>>>>>>       </orch:the_geom>
>>>>>>> (...)
>>>>> Yes, we implemented code of the kind "urn:ogc:def:crs:EPSG:6.8", we
>>>>> could do the same for http. Would it be possible to open a JIRA task
>>>>> please?
>>>>>
>>>>>     Martin
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------- 
>>>>>
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>>>>> share your
>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
>>>>>
>>>>> _______________________________________________
>>>>> Geotools-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>>>
>>>>>
>>>>>
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>>> share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Geotools-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>
>>>
>>>
>>
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
> !DSPAM:1004,45b8b2018221116498154!
> 


-- 
Justin Deoliveira
[EMAIL PROTECTED]
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to