[Geoserver-devel] GSIP 64 - Keyword Vocabularies and Languages

Hi all,

I have put together a quick proposal and patch to allow for supporting specifying metadata on service and layer keywords. The current proposal is here:

http://geoserver.org/display/GEOS/GSIP+64±+Keyword+Vocabularies+and+Languages

Current patch on github:

https://github.com/jdeolive/geoserver/commit/256f9037924bf6866495e2f72b3072cd443df0cf

Related JIRA issue:

http://jira.codehaus.org/browse/GEOS-4658

Feedback appreciated.

Thanks.

-Justin


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

On Thu, Sep 29, 2011 at 5:38 AM, Justin Deoliveira <jdeolive@anonymised.com.1501…> wrote:

Hi all,

I have put together a quick proposal and patch to allow for supporting specifying metadata on service and layer keywords. The current proposal is here:

http://geoserver.org/display/GEOS/GSIP+64±+Keyword+Vocabularies+and+Languages

Current patch on github:

https://github.com/jdeolive/geoserver/commit/256f9037924bf6866495e2f72b3072cd443df0cf

Related JIRA issue:

http://jira.codehaus.org/browse/GEOS-4658

Feedback appreciated.

The proposal makes sense and seems rather complete.
The backwards compatibility strategy is also good, though I don’t see escaping for
the separators: are they invalid characters in the keyword, language or vocabulary
expressions?
Besides this issue, +1

Thinking out loud, expression a keyword becomes more work, might be interesting
to have a way to copy them from another layer.
I think others have expressed a desire to have existing layers act as “templates”
for new layers. Anyways, just a random thought, not actually related to the
proposal

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf


Thanks for the prompt feedback Andrea. Comments inline.

On Thu, Sep 29, 2011 at 8:08 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Thu, Sep 29, 2011 at 5:38 AM, Justin Deoliveira <jdeolive@anonymised.com.> wrote:

Hi all,

I have put together a quick proposal and patch to allow for supporting specifying metadata on service and layer keywords. The current proposal is here:

http://geoserver.org/display/GEOS/GSIP+64±+Keyword+Vocabularies+and+Languages

Current patch on github:

https://github.com/jdeolive/geoserver/commit/256f9037924bf6866495e2f72b3072cd443df0cf

Related JIRA issue:

http://jira.codehaus.org/browse/GEOS-4658

Feedback appreciated.

The proposal makes sense and seems rather complete.
The backwards compatibility strategy is also good, though I don’t see escaping for
the separators: are they invalid characters in the keyword, language or vocabulary
expressions?

Ahh good point. As far as WMS and OWS go they can be arbitrary strings to @ and ; are valid. Will escape them.

Besides this issue, +1

Thinking out loud, expression a keyword becomes more work, might be interesting
to have a way to copy them from another layer.
I think others have expressed a desire to have existing layers act as “templates”
for new layers. Anyways, just a random thought, not actually related to the
proposal

Yeah that is a cool idea… template layers like we have template styles… would be a fun one to implement :slight_smile:

Cheers
Andrea

Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584 962313
fax: +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf



Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Hey Justin!

The proposal looks good; +1

Q: do you have a real example of what vocabulary can be?
Q: Did you consider integration with InternationalString?


Jody Garnett

On Thursday, 29 September 2011 at 1:38 PM, Justin Deoliveira wrote:

Hi all,

I have put together a quick proposal and patch to allow for supporting specifying metadata on service and layer keywords. The current proposal is here:

http://geoserver.org/display/GEOS/GSIP+64±+Keyword+Vocabularies+and+Languages

Current patch on github:

https://github.com/jdeolive/geoserver/commit/256f9037924bf6866495e2f72b3072cd443df0cf

Related JIRA issue:

http://jira.codehaus.org/browse/GEOS-4658

Feedback appreciated.

Thanks.

-Justin


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Thanks Jody.

On Thu, Sep 29, 2011 at 9:40 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Hey Justin!

The proposal looks good; +1

Q: do you have a real example of what vocabulary can be?

Here is an example from the actual ticket:

infoMapAccessService Hydrography

Q: Did you consider integration with InternationalString?

I had not but that is an interesting thought… I guess we could make KeywordInfo.value an international string. However it might be overkill here… i don’t really need to convert between languages… just associate a language with a string. Which InterationalString doesn’t really seem to provide.


Jody Garnett

On Thursday, 29 September 2011 at 1:38 PM, Justin Deoliveira wrote:

Hi all,

I have put together a quick proposal and patch to allow for supporting specifying metadata on service and layer keywords. The current proposal is here:

http://geoserver.org/display/GEOS/GSIP+64±+Keyword+Vocabularies+and+Languages

Current patch on github:

https://github.com/jdeolive/geoserver/commit/256f9037924bf6866495e2f72b3072cd443df0cf

Related JIRA issue:

http://jira.codehaus.org/browse/GEOS-4658

Feedback appreciated.

Thanks.

-Justin


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

infoMapAccessService Hydrography

Okay that works for me; was trying to figure it out looks like one of those silly “domain of discourse” ideas.

Q: Did you consider integration with InternationalString?

I had not but that is an interesting thought… I guess we could make KeywordInfo.value an international string. However it might be overkill here… i don’t really need to convert between languages… just associate a language with a string. Which InterationalString doesn’t really seem to provide.

Well the thing is a lot of the implementations do provide that; it is just that InternationalString is a nice way to throw them around a program and mark down something that “has translations”. I had a couple goes making something for keyword but did not like any of them especially.

class KeywordString extends InternationalString {
Set getKeywords();
String toString();
String toString( Locale );
}

Jody

Hei Justin, +1 here too … nice capability to have.

Thanks,
Alessio.


Ing. Alessio Fabiani
Founder / CTO GeoSolutions S.A.S.

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: (+39) 0584 96.23.13
fax: (+39) 0584 96.23.13
mobile:(+39) 331 62.33.686

http://www.geo-solutions.it
http://geo-solutions.blogspot.com
http://www.linkedin.com/in/alessiofabiani
http://twitter.com/geosolutions_it

On Sat, Oct 1, 2011 at 7:25 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

infoMapAccessService Hydrography

Okay that works for me; was trying to figure it out looks like one of those silly “domain of discourse” ideas.

Q: Did you consider integration with InternationalString?

I had not but that is an interesting thought… I guess we could make KeywordInfo.value an international string. However it might be overkill here… i don’t really need to convert between languages… just associate a language with a string. Which InterationalString doesn’t really seem to provide.

Well the thing is a lot of the implementations do provide that; it is just that InternationalString is a nice way to throw them around a program and mark down something that “has translations”. I had a couple goes making something for keyword but did not like any of them especially.

class KeywordString extends InternationalString {
Set getKeywords();
String toString();
String toString( Locale );
}

Jody


All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel