ekansa / gap2

Geographic Annotation Platform
4 stars 4 forks source link

tools for customization of representation of places (priority: gap desired) #8

Closed atomrab closed 10 years ago

atomrab commented 10 years ago

It would be very helpful to have some control over the symbology of places in the map display, especially if the database has the capacity to handle extra fields like "place type". Being able to color code by place type or some other user-defined value, as in the original Hestia instance, would probably be more effective than color coding by frequency.

enridaga commented 10 years ago

@ekansa do you think it is possible to add the place type to the place record in the book json? Eg:

{"id":"375","uri":"http:\/\/pleiades.stoa.org\/places\/570536","title":"Oresthasion","ll":[37.345994,22.206506], "type": "settlement"},

And how many place type are available? Can they be listed at the root of the book json? Eg:

{"id":"1","title":"Herodotus Histories - Hestia data", ... , "place-types" : ["settlement","city", ?, ... ] ... }

WDYT?

enridaga commented 10 years ago

Will select some place types from http://pelagios.org/recogito/ just to have an idea and implement the feature working with fake data. I will base the implementation on the above example.

ekansa commented 10 years ago

Finally have a moment to get to this.

We can add feature types, but we don't have the data yet. I'm looking over the Pleiades URIs and services to see where we can get some relevant data.

Here's an example: http://pleiades.stoa.org/places/1001889/json

As far as I can see there's no clear feature type that we can add. Do you see some Enrico?

enridaga commented 10 years ago

Hi Eric, thank you for your feedback, it looks like we overlapped :)

Does not matter, I think. I will start doing something with fake examples, and as soon as the feature is supported by some data we will further evaluate it.

On 11 March 2014 13:31, Eric Kansa notifications@github.com wrote:

Finally have a moment to get to this.

We can add feature types, but we don't have the data yet. I'm looking over the Pleiades URIs and services to see where we can get some relevant data.

Here's an example: http://pleiades.stoa.org/places/1001889/json

As far as I can see there's no clear feature type that we can add. Do you see some Enrico?

— Reply to this email directly or view it on GitHubhttps://github.com/ekansa/gap2/issues/8#issuecomment-37294962 .


enridaga

enridaga commented 10 years ago

This has been implemented. See also https://github.com/enridaga/gapvis/issues/22