When I upload two shapefiles to ArcMap they are not overlapping. I have to click "Zoom to Layer" to see each one. I know I have to change the coordinate systems but I am unsure how... If anyone would like to see the data I am using, I am using an Oklahoma Counties Shapefile and the Tornado Shapefile provided by NOAA. The links to each are provided below:
Oklahoma Counties Link I downloaded the statewide shapefile
Tornado Link: I downloaded the torn.zip for tornadoes from 1950-2016
How do I get these two shapefiles to overlap? I have spent hours trying to figure this and have been reading/searching other posts but but I am not getting anywhere. Any help that can be provided would be great!
There is no projection defined on the county shapefile .Use the Define projection tool to project it to the projection defined in the textfile.Its(Geographic Coordinate system,NAD1983_2011) .
Also to better help overlay them add the USA counties data from ArcGIS Online and then proceed to add the county and tornado shapefiles and it seemed to work just fine
I have attached a picture below with a definition query on the tornado file to Oklahoma city.
image1
Related
I'm using OSMnx to get building footprints for buildings, expecting to put polygon data in grasshopper to generate building models for energy simulations. I already have building height data and other energy input for that. The question is I need building addresses along with geometry data (polygon) from OpenStreetMap to match the building height data I have.
I used ox.geometries_from_place('Helsingborg, Sweden', tags={'building':True}) to get polygons of building footprints but there are so many blank in address columns like addr:city, addr:street.... But I'm pretty sure there's data for this information because I can see the address info when searching the building on OpenStreetMap web.
For example, I searched the building called 'Furutorpsgatan 49A' in Helsingborg.
In OpenStreetMap, all the information looks fine, but in the data I extracted from OSMnx there's no address info
What should I do? Is there any mistake I made? Or Is there any other method to get building footprint data for a specific building?
Many thanks!
I've pulled up a 'plot of land' raster and I'm attempting to georeference it to Openstreetmap. I can get the raster and the OSM to line up however it isn't accurate enough - there are straight lines that have warped.
I'm assuming this is an issue relating to the message, "Used a ballpark transform epsg:27700 to EPSG:3857" that I get when I add OSM as a layer to a new project set to EPSG27700.
As you may easily tell, I'm quite a novice at QGIS!
I am working on a project where I need to get a shapefile of all roads in a given US county from open streetmap data, add some information to the county roads, then merge the individual county road shape files into a larger single shapefile using qgis.
My current process is to download the state roads map from the OSM repsitory that has my desired counties, and clip the larger state map to my desired county set of roads using qgis. I use the census bureau's county boundary shapefile to determine the boundary of the clip. The problem is that qgis seems to delete small sections of roads at the county boundary and I am unable to merge the "fabric" of the map together because there are gaps in road lines at the county boundary.
As an alternative approach, I have stared to research using the OSM overpass api to query for a set of county roads. If I can query OSM for all roads within a given county and download as a shapefile, should I then be able to merge the individual county road maps into a larger map without gaps and avoid the problem I have with clipping?
Are there any articles that describe the overpass api query for getting roads within a known administrative boundary, like a US county?
Learning Leaflet. Had success with point data. Now want to create polygons.
The process starts with an Access record with a Parcel Identification Number. Using ArcMap desktop, the records are joined to a parcel shape file for the county.
What the best approach to get to Leaflet polygons from here? Like with point data, do I need to add fields to contain the lat/lon data?
I don't need a lot of detail; just a pointer in the right direction. I don't mind doing homework.
My approach would be to convert the shapefile to geojson and then load the geojson into your Leaflet map.
I'm aware of some ArcGIS plugins to export geojson, but an alternative approach is to use the command line tool GDAL (ogr2ogr).
See the links on this answer for more details, but the command will end up being something like the following...
ogr2ogr -f GeoJSON -t_srs "EPSG:4326" [name][.geojson|.json] [name].shp
From there you can preview the results in geojson.io or github before creating your Leaflet map.
Seems like the US County map for Highmaps is missing New York and DC (among others)
http://www.highcharts.com/maps/demo/us-counties
Is there a complete and correct geojson US-county map available?
There is a Free API to obtain US County in GeoJson format:
Example query:
https://vanitysoft-boundaries-io-v1.p.mashape.com/reaperfire/rest/v1/public/boundary?and=true&county=Washington+County&state=MD
please note that some zipcodes do not fall within a county.
The good news is that the GeoJSON does include New York and DC (and I'm fairly certain all counties in the US). What you are experiencing are two separate issues.
For DC, it is already drawn on the map, but the problem is simply that it has no data to display from the source. Therefor it appears as though it is just a hole in the map. The path for DC is drawn and very much visible (just not lively colored). Change the fill color to black and you'll see it.
For New York county it is also drawn on the map, but unfortunately it is only 1 pixel wide and doesn't show up at all visually even when zoomed. This could be fixed by altering the geometry of the GeoJSON data for that county specifically. To see that it is there you could give it an id in the data and use Point.zoomTo to see where it would've been (if visible).
I'm not certain what defines "correct", but you're not going to get a GeoJSON on a centimeter-scale of correctness, so it comes down to how many points you want to use for the geometry of each element.
If you look at the drilldown map it is even more coarse when displaying the overall map, but when zooming in it shows New York county perfectly. Perhaps you could somehow combine or utilize the different levels of granularity of the different GeoJSON files.