Sorting massive amounts of geospatial data based on location and scale using Python [closed] Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Sorting shapefile records on attribute to update new rank field using Python?Adding icon in particular places using ArcGIS and show data based on the locationUsing a Select By Location in Python and Calculating a field based on what State Plane a point falls inUsing Python to create new point location based on various azimuth and distancesSelect by location and copy to new shape and name based on attributeUsing Python to select random location from shapefile?Sorting points based on Northing and EastingUsing Python and ArcGIS?Location-Allocation “Like” Problem using Polygon dataMerging based on attribute and spatial location in ArcGIS Desktop?

What computer would be fastest for Mathematica Home Edition?

What's the point in a preamp?

Stop battery usage [Ubuntu 18]

Do working physicists consider Newtonian mechanics to be "falsified"?

What can I do if my MacBook isn’t charging but already ran out?

If A makes B more likely then B makes A more likely"

Antler Helmet: Can it work?

Was credit for the black hole image misattributed?

Slither Like a Snake

Limit for e and 1/e

Active filter with series inductor and resistor - do these exist?

Using "nakedly" instead of "with nothing on"

Can a monk deflect thrown melee weapons?

What is the electric potential inside a point charge?

Can I throw a longsword at someone?

Should you tell Jews they are breaking a commandment?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Direct Experience of Meditation

How do I automatically answer y in bash script?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Unexpected result with right shift after bitwise negation

Statistical model of ligand substitution

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Determine whether f is a function, an injection, a surjection



Sorting massive amounts of geospatial data based on location and scale using Python [closed]



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Sorting shapefile records on attribute to update new rank field using Python?Adding icon in particular places using ArcGIS and show data based on the locationUsing a Select By Location in Python and Calculating a field based on what State Plane a point falls inUsing Python to create new point location based on various azimuth and distancesSelect by location and copy to new shape and name based on attributeUsing Python to select random location from shapefile?Sorting points based on Northing and EastingUsing Python and ArcGIS?Location-Allocation “Like” Problem using Polygon dataMerging based on attribute and spatial location in ArcGIS Desktop?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have a few terabytes worth of geospatial data. Raster, matrix, imagery and vector, everything from point shapefiles of gas stations in a local area to country overviews. Some of the data is good (accurate, up to date, has metadata, ect.) and some is pretty bad. It is currently somewhat sorted by location and scale, but sloppily, and other employees have thrown in random data that is not useful or just plain bad over the years.



The end goal is to have all this data sorted by:



  • Location (Country/State/Province)



  • Scale



    • Global 1:400,000 or greater


    • Regional 1:200,000 to 1:399,999


    • Local 1:24,001 to 1:199,999


    • Specialized 24,000 or lower



  • File type (Raster/Matrix/Vector/Imagery/Text)


Sorting by file type is straightforward, just sort it by extension. Sorting by scale can be done by pulling extent information in decimal degrees and calculating the scale from there.



The major issue is grabbing location data. The only idea I've had is to use an intersect geoprocessing tool with a international country layer, and the layer that is currently being sorted, to determine where the layer is located in regards to that country.



That seems to be the messy way of doing things. Any ideas/solutions?










share|improve this question









New contributor




itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as off-topic by ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken Apr 9 at 14:41


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • It's not entirely clear what you want. If you have a raster, what is its location? The center of the image? What kind of location label do you want to apply--a country for each piece of data? What if the data span multiple country boundaries? For rasters, I don't think you'd need more than gdal.Open(path_to_raster) and the associated object's methods (e.g. GetGeoTransform()).

    – Jon
    Apr 8 at 14:41











  • The terminology associated with this has often been geoportals and catalog services.

    – PolyGeo
    Apr 8 at 20:06


















1















I have a few terabytes worth of geospatial data. Raster, matrix, imagery and vector, everything from point shapefiles of gas stations in a local area to country overviews. Some of the data is good (accurate, up to date, has metadata, ect.) and some is pretty bad. It is currently somewhat sorted by location and scale, but sloppily, and other employees have thrown in random data that is not useful or just plain bad over the years.



The end goal is to have all this data sorted by:



  • Location (Country/State/Province)



  • Scale



    • Global 1:400,000 or greater


    • Regional 1:200,000 to 1:399,999


    • Local 1:24,001 to 1:199,999


    • Specialized 24,000 or lower



  • File type (Raster/Matrix/Vector/Imagery/Text)


Sorting by file type is straightforward, just sort it by extension. Sorting by scale can be done by pulling extent information in decimal degrees and calculating the scale from there.



The major issue is grabbing location data. The only idea I've had is to use an intersect geoprocessing tool with a international country layer, and the layer that is currently being sorted, to determine where the layer is located in regards to that country.



That seems to be the messy way of doing things. Any ideas/solutions?










share|improve this question









New contributor




itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as off-topic by ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken Apr 9 at 14:41


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • It's not entirely clear what you want. If you have a raster, what is its location? The center of the image? What kind of location label do you want to apply--a country for each piece of data? What if the data span multiple country boundaries? For rasters, I don't think you'd need more than gdal.Open(path_to_raster) and the associated object's methods (e.g. GetGeoTransform()).

    – Jon
    Apr 8 at 14:41











  • The terminology associated with this has often been geoportals and catalog services.

    – PolyGeo
    Apr 8 at 20:06














1












1








1








I have a few terabytes worth of geospatial data. Raster, matrix, imagery and vector, everything from point shapefiles of gas stations in a local area to country overviews. Some of the data is good (accurate, up to date, has metadata, ect.) and some is pretty bad. It is currently somewhat sorted by location and scale, but sloppily, and other employees have thrown in random data that is not useful or just plain bad over the years.



The end goal is to have all this data sorted by:



  • Location (Country/State/Province)



  • Scale



    • Global 1:400,000 or greater


    • Regional 1:200,000 to 1:399,999


    • Local 1:24,001 to 1:199,999


    • Specialized 24,000 or lower



  • File type (Raster/Matrix/Vector/Imagery/Text)


Sorting by file type is straightforward, just sort it by extension. Sorting by scale can be done by pulling extent information in decimal degrees and calculating the scale from there.



The major issue is grabbing location data. The only idea I've had is to use an intersect geoprocessing tool with a international country layer, and the layer that is currently being sorted, to determine where the layer is located in regards to that country.



That seems to be the messy way of doing things. Any ideas/solutions?










share|improve this question









New contributor




itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have a few terabytes worth of geospatial data. Raster, matrix, imagery and vector, everything from point shapefiles of gas stations in a local area to country overviews. Some of the data is good (accurate, up to date, has metadata, ect.) and some is pretty bad. It is currently somewhat sorted by location and scale, but sloppily, and other employees have thrown in random data that is not useful or just plain bad over the years.



The end goal is to have all this data sorted by:



  • Location (Country/State/Province)



  • Scale



    • Global 1:400,000 or greater


    • Regional 1:200,000 to 1:399,999


    • Local 1:24,001 to 1:199,999


    • Specialized 24,000 or lower



  • File type (Raster/Matrix/Vector/Imagery/Text)


Sorting by file type is straightforward, just sort it by extension. Sorting by scale can be done by pulling extent information in decimal degrees and calculating the scale from there.



The major issue is grabbing location data. The only idea I've had is to use an intersect geoprocessing tool with a international country layer, and the layer that is currently being sorted, to determine where the layer is located in regards to that country.



That seems to be the messy way of doing things. Any ideas/solutions?







arcgis-desktop arcpy python arcmap






share|improve this question









New contributor




itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Apr 8 at 14:53









Vince

14.8k32850




14.8k32850






New contributor




itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 8 at 14:27









itsgillitsgill

61




61




New contributor




itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






itsgill is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




closed as off-topic by ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken Apr 9 at 14:41


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken
If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken Apr 9 at 14:41


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – ahmadhanb, Jochen Schwarze, Kadir Şahbaz, whyzar, nmtoken
If this question can be reworded to fit the rules in the help center, please edit the question.












  • It's not entirely clear what you want. If you have a raster, what is its location? The center of the image? What kind of location label do you want to apply--a country for each piece of data? What if the data span multiple country boundaries? For rasters, I don't think you'd need more than gdal.Open(path_to_raster) and the associated object's methods (e.g. GetGeoTransform()).

    – Jon
    Apr 8 at 14:41











  • The terminology associated with this has often been geoportals and catalog services.

    – PolyGeo
    Apr 8 at 20:06


















  • It's not entirely clear what you want. If you have a raster, what is its location? The center of the image? What kind of location label do you want to apply--a country for each piece of data? What if the data span multiple country boundaries? For rasters, I don't think you'd need more than gdal.Open(path_to_raster) and the associated object's methods (e.g. GetGeoTransform()).

    – Jon
    Apr 8 at 14:41











  • The terminology associated with this has often been geoportals and catalog services.

    – PolyGeo
    Apr 8 at 20:06

















It's not entirely clear what you want. If you have a raster, what is its location? The center of the image? What kind of location label do you want to apply--a country for each piece of data? What if the data span multiple country boundaries? For rasters, I don't think you'd need more than gdal.Open(path_to_raster) and the associated object's methods (e.g. GetGeoTransform()).

– Jon
Apr 8 at 14:41





It's not entirely clear what you want. If you have a raster, what is its location? The center of the image? What kind of location label do you want to apply--a country for each piece of data? What if the data span multiple country boundaries? For rasters, I don't think you'd need more than gdal.Open(path_to_raster) and the associated object's methods (e.g. GetGeoTransform()).

– Jon
Apr 8 at 14:41













The terminology associated with this has often been geoportals and catalog services.

– PolyGeo
Apr 8 at 20:06






The terminology associated with this has often been geoportals and catalog services.

– PolyGeo
Apr 8 at 20:06











0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

រឿង រ៉ូមេអូ និង ហ្ស៊ុយលីយេ សង្ខេបរឿង តួអង្គ បញ្ជីណែនាំ

Crop image to path created in TikZ? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Crop an inserted image?TikZ pictures does not appear in posterImage behind and beyond crop marks?Tikz picture as large as possible on A4 PageTransparency vs image compression dilemmaHow to crop background from image automatically?Image does not cropTikzexternal capturing crop marks when externalizing pgfplots?How to include image path that contains a dollar signCrop image with left size given

Romeo and Juliet ContentsCharactersSynopsisSourcesDate and textThemes and motifsCriticism and interpretationLegacyScene by sceneSee alsoNotes and referencesSourcesExternal linksNavigation menu"Consumer Price Index (estimate) 1800–"10.2307/28710160037-3222287101610.1093/res/II.5.31910.2307/45967845967810.2307/2869925286992510.1525/jams.1982.35.3.03a00050"Dada Masilo: South African dancer who breaks the rules"10.1093/res/os-XV.57.1610.2307/28680942868094"Sweet Sorrow: Mann-Korman's Romeo and Juliet Closes Sept. 5 at MN's Ordway"the original10.2307/45957745957710.1017/CCOL0521570476.009"Ram Leela box office collections hit massive Rs 100 crore, pulverises prediction"Archived"Broadway Revival of Romeo and Juliet, Starring Orlando Bloom and Condola Rashad, Will Close Dec. 8"Archived10.1075/jhp.7.1.04hon"Wherefore art thou, Romeo? To make us laugh at Navy Pier"the original10.1093/gmo/9781561592630.article.O006772"Ram-leela Review Roundup: Critics Hail Film as Best Adaptation of Romeo and Juliet"Archived10.2307/31946310047-77293194631"Romeo and Juliet get Twitter treatment""Juliet's Nurse by Lois Leveen""Romeo and Juliet: Orlando Bloom's Broadway Debut Released in Theaters for Valentine's Day"Archived"Romeo and Juliet Has No Balcony"10.1093/gmo/9781561592630.article.O00778110.2307/2867423286742310.1076/enst.82.2.115.959510.1080/00138380601042675"A plague o' both your houses: error in GCSE exam paper forces apology""Juliet of the Five O'Clock Shadow, and Other Wonders"10.2307/33912430027-4321339124310.2307/28487440038-7134284874410.2307/29123140149-661129123144728341M"Weekender Guide: Shakespeare on The Drive""balcony"UK public library membership"romeo"UK public library membership10.1017/CCOL9780521844291"Post-Zionist Critique on Israel and the Palestinians Part III: Popular Culture"10.2307/25379071533-86140377-919X2537907"Capulets and Montagues: UK exam board admit mixing names up in Romeo and Juliet paper"Istoria Novellamente Ritrovata di Due Nobili Amanti2027/mdp.390150822329610820-750X"GCSE exam error: Board accidentally rewrites Shakespeare"10.2307/29176390149-66112917639"Exam board apologises after error in English GCSE paper which confused characters in Shakespeare's Romeo and Juliet""From Mariotto and Ganozza to Romeo and Guilietta: Metamorphoses of a Renaissance Tale"10.2307/37323537323510.2307/2867455286745510.2307/28678912867891"10 Questions for Taylor Swift"10.2307/28680922868092"Haymarket Theatre""The Zeffirelli Way: Revealing Talk by Florentine Director""Michael Smuin: 1938-2007 / Prolific dance director had showy career"The Life and Art of Edwin BoothRomeo and JulietRomeo and JulietRomeo and JulietRomeo and JulietEasy Read Romeo and JulietRomeo and Julieteeecb12003684p(data)4099369-3n8211610759dbe00d-a9e2-41a3-b2c1-977dd692899302814385X313670221313670221