Re: Encoding geospatial features on schema.org

>> With polygons features, I have even more problems because I cannot see how to specify holes in them (a common requirement in land cover maps).
>> 
> That does seem like a genuine bug. For example it leaves us unable describe Italy except by including the Vatican City and San Marino, and I think Schema probably should handle that use case properly.

I think the most elegant option to fix that bug is to allow logical AND and OR operators over lists / sets of http://schema.org/GeoShape.

A simple modeling approach for this would be to add two properties

    includesGeoShape 
and 
    excludesGeoShape
to 

http://schema.org/GeoShape

One may want to define a subtype CompoundGeoShape of http://schema.org/GeoShape for this, but I think that is not really needed.

The range of the two properties should be http://schema.org/GeoShape.

That should do the trick.

Martin


-----------------------------------
martin hepp  http://www.heppnetz.de
mhepp@computer.org          @mfhepp

Received on Wednesday, 12 July 2017 09:00:44 UTC