Skip to content

Instantly share code, notes, and snippets.

@portableant
Last active Jan 6, 2016
Embed
What would you like to do?
Megan Perry gis stuff
ID GEOM ATTRIBUTE CLASS LATITUDE LONGITUDE
1 POLYGON B.6 tomb 30.33192927 35.44511046
1 POLYGON B.6 tomb 30.33193793 35.4451296
1 POLYGON B.6 tomb 30.33194466 35.44512644
1 POLYGON B.6 tomb 30.33193506 35.44510488
1 POLYGON B.6 tomb 30.33192927 35.44511046
2 POLYGON B.5 tomb 30.33196859 35.44503376
2 POLYGON B.5 tomb 30.33197311 35.44505717
2 POLYGON B.5 tomb 30.33198008 35.44505588
2 POLYGON B.5 tomb 30.3319744 35.44503141
2 POLYGON B.5 tomb 30.33196859 35.44503376
3 POLYGON B.4 tomb 30.33199259 35.4450042
3 POLYGON B.4 tomb 30.33199077 35.44498128
3 POLYGON B.4 tomb 30.33198381 35.44498204
3 POLYGON B.4 tomb 30.33198608 35.44500529
3 POLYGON B.4 tomb 30.33199259 35.4450042
4 POLYGON B.7 tomb 30.33197635 35.44554731
4 POLYGON B.7 tomb 30.33197008 35.44555537
4 POLYGON B.7 tomb 30.33195865 35.44553235
4 POLYGON B.7 tomb 30.33195559 35.44553919
4 POLYGON B.7 tomb 30.33197635 35.44554731
5 POLYGON B.8 tomb 30.33167443 35.44538854
5 POLYGON B.8 tomb 30.3316655 35.44538917
5 POLYGON B.8 tomb 30.33166547 35.44536403
5 POLYGON B.8 tomb 30.33167522 35.44536063
5 POLYGON B.8 tomb 30.33167443 35.44538854
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This is a very simplistic way of doing it, but good for learning.
1. Open qgis
2. Layer > Add layer > Add delimited text layer
3. Add perry.csv file from here
4. Choose WGS84 as projection
5. You'll see points of tomb corners projected
6. I assume you have a Jordan basemap, add this as a vector layer
7. Save your imported points as a vector layer
This is a very simple way to get polygons:
1. Use spatial query to select the tomb you want - see http://www.qgistutorials.com/en/docs/performing_spatial_queries.html for help on this
2. Export and save the selected tomb as a layer
3. Select the layer you want and use the Delaunay triangulation. You created a polygon with the function of the
same name under menu Vector | Geometry Tools.
You may now want to recombine files and then you can export as geojson (save as geojson)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment