Last active
January 6, 2016 16:50
-
-
Save portableant/7a2fa6f8112114024009 to your computer and use it in GitHub Desktop.
Megan Perry gis stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "FeatureCollection", | |
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, | |
"features": [ | |
{ "type": "Feature", "properties": { "POINTA": 0.000000, "POINTB": 2.000000, "POINTC": 1.000000 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.44511046, 30.33192927 ], [ 35.44512644, 30.33194466 ], [ 35.4451296, 30.33193793 ], [ 35.44511046, 30.33192927 ] ] ] } }, | |
{ "type": "Feature", "properties": { "POINTA": 3.000000, "POINTB": 2.000000, "POINTC": 0.000000 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.44510488, 30.33193506 ], [ 35.44512644, 30.33194466 ], [ 35.44511046, 30.33192927 ], [ 35.44510488, 30.33193506 ] ] ] } } | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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