-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial list of issues #1
Comments
@VladimirAlexiev, thanks for your thorough review. A few quick notes:
Yes, you're absolutely right.
This is only half-done. The idea is to assign blank node ids to the vertices and the use them as references in the In any case, is the order of the vertices relevant (I'm honestly asking, since I'm not a CityJSON guru by any means)? Unless I'm mistaken, the order of the vertices is only important to the extent that the references in other constructs (e.g. A RDF -> CityJSON converter could then just revert the process by defining an order (lexicographically?) to sort the vertices, mapping them to their position in the
This is a bug in the pyld module (it's not expanding the terms as it should). I have pushed a workaround for this, so (fingers crossed) no more file:// URIs.
Explained above.
Agreed.
Fixed by setting the
Added the necessary
This is just how rdflib serializes Turtle...
The identifiers for the objects are used to generate the blank node ids; if you look at the ttl file, you'll see two different city objects ([1], [2]). Of course, that should also be done for the |
@avillar Can you please open a new issue "how to represent geometry (vertices and indexes)"? It's crucial for the whole effort.
these extra considerations:
@rob-metalinkage and @peterrdf What's your take on geometry?
Ah, but they should be used to make URLs (and perhaps emitted in a separate field |
Quick note: the nested lists issue was not really a JSON-LD 1.0 vs 1.1, but a problem with the rdflib JSON-LD parser... |
@avillar @rob-metalinkage @peterrdf Here's an initial list of issues from about 20 min inspection of the example json/turtle.
Conventions:
blob/c46b466e036857a719f31ae47c4753637f9ca248
notblob/master
).As https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet describes, you can copy this link by using
... > Copy permalink
(don't copy from the address bar). Let's adopt this convention since it's very convenient to see the snippetsIssues:
chek-profiles
to perhapsCityRDF-examples
. I don't think our project controller will look nicely at me working on some other project's repo/stuff. Also, I feel it's prestigious to work on an RDF/OWL rendition of CityGML, but not so on somebody else's project.city:CityJson
type is wrong, because the turtle result is NOT json. Maybe rename this type toCityGML
orCityData
?chek-profiles/cityjson/twobuildings.city.ttl
Line 23 in c46b466
but
city:hasVertex
is unordered in turtlechek-profiles/cityjson/twobuildings.city.ttl
Lines 44 to 46 in c46b466
file:
URLs in turtle:chek-profiles/cityjson/twobuildings.city.ttl
Line 34 in c46b466
boundaries
have a similar structure tovertices
(list of numeric triples), butcity:hasVertex
vscity:boundaries
have very different structure:chek-profiles/cityjson/twobuildings.city.ttl
Line 44 in c46b466
chek-profiles/cityjson/twobuildings.city.ttl
Line 32 in c46b466
city:hasVertex
vscity:boundaries
don't use a consistent naming convention (I prefer justvertex, boundary
)city:lod "2"
may be better rendered as a number (2
or even2.0
) so one can compare LODs numericallychek-profiles/cityjson/twobuildings.city.ttl
Line 33 in c46b466
city:hasTransform, city:translate
are defined asxsd:float
ordouble
, leading to inexact numeric representation and scientific notation. Maybe better define asxsd:decimal
?chek-profiles/cityjson/twobuildings.city.ttl
Line 41 in c46b466
city:x
doesn't start in the same position ascity:y, city:z
:chek-profiles/cityjson/twobuildings.city.ttl
Lines 24 to 29 in c46b466
chek-profiles/cityjson/twobuildings.city.json
Line 15 in c46b466
The text was updated successfully, but these errors were encountered: