Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] EPSG:42304 supporting additional CRS definitions

> A bit of both - we should let users define new codes; and we have a
> list of extra codes to use as a default. I think we can set up the
> epsg-extension plugin to slurp up an epsg.properties file in a
> directory.

Okky, cool.

> We may also want to allow multiple epsg.properties files; but that may
> involve some geotools hacking.
>
> So we could either:
> - include a default epsg.properties file in side the
> net.refractions.udig.libs plugin; or
> - include a default epsg.properties file in each workspace (that may
> be annoying?)
> - include a default epsg.properties file in the udig configuration
> folder (so you can set up codes for your team?)
>
> What do you think?

I like the last one best. would give much freedom to people. Thinking
if that is too much freedom and people might corrupt that by playing
with it? In that case it would be better to put it inside the libs
plugin?

Andrea



> Jody
>
> On Mon, May 25, 2009 at 5:06 PM, andrea antonello
> <andrea.antonello@xxxxxxxxx> wrote:
>>> That is the right reference docs;
>>>
>>> I was just talking to Andrea Aime -apparently we can use this as a
>>> starting point:
>>> - http://svn.codehaus.org/geoserver/branches/1.7.x/data/release/user_projections/epsg.properties
>>>
>>> They are using that successfully with the epsg-extensions plugin.
>>
>> Wait, then I am not getting something.
>> In my nderstanding I would have used that user projections file to
>> register those at udig startup.
>> Are you telling me that instead we have to add the user projections to
>> that file and inside the jar in the libs plugin?
>>
>> Andrea
>>
>>
>>
>>> Jody
>>>
>>> On Mon, May 25, 2009 at 4:41 PM, andrea antonello
>>> <andrea.antonello@xxxxxxxxx> wrote:
>>>>> So it may be time to finally support the additional CRS definitions.
>>>>>
>>>>> The GeoTools library includes a epsg-extension plugin; here is what I
>>>>> think it would take to support it:
>>>>> - depend on this in the net.refractions.udig.libs module
>>>>> - create an epsg.properties file (either directly in the plugin or in
>>>>> the udig configuration?)
>>>>> - set a system property variable in the net.refractions.udig.libs
>>>>> Activator so geotools can pick up the epsg.properties file. We will
>>>>> need to go to some trouble with Platform methods to convert the URL
>>>>> into something geotools can use.
>>>>>
>>>>> I think that is it; is there anything else I am missing? We could have
>>>>> a button to open up the epsg.properties file for editing; or get fancy
>>>>> and reuse our custom CRS dialog to define additional codes?
>>>>
>>>> May I ask if the docs at this page work:
>>>> http://docs.codehaus.org/display/GEOTDOC/11+Referencing+FAQ#11ReferencingFAQ-HowdoIextendthesystemwithmyowncustomCRS%3F
>>>>
>>>> In trunk I feel that a startup class might do the job. I could add
>>>> additional ones during the sprint in a few weeks if that applies.
>>>>
>>>> Ideas?
>>>> Andrea
>>>>
>>>>
>>>>
>>>>>
>>>>> Jody
>>>>>
>>>>> On Mon, May 25, 2009 at 12:54 PM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
>>>>>> It does not look like the dmsolutions wfs instance we use in our walkthrough
>>>>>> 2 is functioning:
>>>>>> -
>>>>>> http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap?version=1.0.0&request=getcapabilities&service=wfs
>>>>>>
>>>>>> It has switch over to publishing data in "EPSG:42304" (which appears to be
>>>>>> an Atlas of Canada equal are projection that is either made up; or not
>>>>>> included in our copy of th epsg database).
>>>>>>
>>>>>> I have sent an email to pr@xxxxxxxxxxxxxx asking if they can restore
>>>>>> EPSG:4326 support. (I included you in the email emilyg since you are more up
>>>>>> to speed on this one then me).
>>>>>>
>>>>>> Jody
>>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top