Skip to content

Is it possible to convert more features to RDF along with geographic information by using TripleGeo? #5

@mesuresh

Description

@mesuresh

Dear all,

I have converted shape file(.shp file) using tripleGeo tools. There are different shape files types(POINT, LINE, POLYGON).

For point type .shp file, it converted coordinates to RDF as shown below for point 42. But shape file also contain other features ( attributes seen using qgis tool) like name, airportID, class etc. Is it possible to convert other features as well like POINT long, lat, features.


http://agrinepaldata.com/gisGeom_point_42
a sf:Point ;
geo:asWKT "POINT (80.58499844842123 29.859203481982888)"^^geo:wktLiteral .

http://agrinepaldata.com/gispoint_42
a http://agrinepaldata.com/gisfeatureWithoutClass , geontology:Feature , http://agrinepaldata.com/gispoint ;
http://www.w3.org/2000/01/rdf-schema#label
"42"@en ;
http://agrinepaldata.com/gisname
"featureWithoutName"@en ;

geo:hasGeometry http://agrinepaldata.com/gisGeom_point_42 .

For line type and polygon type .shp files, I have same issue. there is also other attributes like POLOY1, POLY2 etc. and if possible, I want to convert them to RDF as well.


http://agrinepaldata.com/gisGeom_line_878
a sf:LineString ;
geo:asWKT "LINESTRING (82.37655639648438 28.477615356445312, 82.37582397460938 28.47881507873535, 82.3741226196289 28.483083724975586, 82.37492370605469 28.485795974731445, 82.37882995605469 28.488542556762695, 82.3797836303711 28.485862731933594, 82.38086700439453 28.48341178894043, 82.38408660888672 28.480989456176758, 82.38350677490234 28.476743698120117, 82.38198852539062 28.474708557128906, 82.37899017333984 28.475643157958984, 82.3770751953125 28.477397918701172, 82.37655639648438 28.477615356445312)"^^geo:wktLiteral .

http://agrinepaldata.com/gisline_878
a http://agrinepaldata.com/gisfeatureWithoutClass , geontology:Feature , http://agrinepaldata.com/gisline ;
http://www.w3.org/2000/01/rdf-schema#label
"878"@en ;
http://agrinepaldata.com/gisname
"featureWithoutName"@en ;

geo:hasGeometry http://agrinepaldata.com/gisGeom_line_878 .

Is there any way can we can convert others attributes besides coordinates to RDF as well?

Kind Regards,
Suresh Pokharel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions