Stáhl jsem spoustu GeoTiffů historických topo map z USGS (https:\/\/ngmdb.usgs.gov\/topoview)<\/A> a<\/SPAN> v měřítku 1:24000. Chci je spojit do mozaiky, abych je nakonec ořízl podle hranic povodí, ale bílé okraje na krajích jsou problém. Na těchto fórech ani nikde jinde na internetu jsem nenašel jasnou odpověď, jak přesně ty okraje odstranit. <\/P><\/P>Někdo má odpověď? <\/P><\/P>Každá pomoc bude oceněna!<\/P><\/BODY><\/HTML>
<\/P>
Někdo má odpověď? <\/P>
Každá pomoc bude oceněna!<\/P><\/BODY><\/HTML>
page not found error
I don't imagine that it is as simple as clipping the collar. That would only be useful if the tiles matched at the edge when clipped. I suspect that there is some rotation and perhaps some overlap?
Perhaps you can provide some details as to whether there is overlap in the adjoining sheets and whether you can convert the 'collar' to nodata for use in a Con statement (details later)
The "n" and "g" the the beginning of the URL are switched, it should be this: https://ngmdb.usgs.gov/topoview/
I just download 2 adjacent tiles and see what you mean there is overlap since the maps include all the legend and metadata too:
However, you could script a solution with Python. In the xml file of the data you will see information on the boundng box of the actual data:
Which corresponds to the map (looking at a corner):
So you could for each TIFF read the bounding box from the xml data and apply an Extract by Rectangle—Help | ArcGIS Desktop to get the part you are interested in.
In additional, you would have to transform the decimal degrees from the bounding box to North_American_1927_Polyconic, since the tiles have projected coordinates. See the worldfile (tfw):
and the coordinate files (.prj)
Thanks for your reply! I have never used python before, I have only ever done simple geoprocessing in ArcMap. Where do I find the .xml and .prj files and how would I do the transformation you are talking about?
Okay, so I figured out how to open the files and actually successfully executed the extract by rectangle in Python. However, the output is just blank. So im thinking the bounding box coordinates are the extent of the whole image including the white collar? Not entirely sure. How would you successfully extract just the image?
If you aren't picky about dates on the historical topos, this same information is available in the basemaps Esri provides, no collar issues. I would also look around local (state) websites, searching under the keyword "drg" for data stores of collar-clipped DRGs. It is extremely likely this has been done and the data is available for your area.
The Clip_management tool may be a better choice. Especially since the edge of the quad is not a rectangle - it's a polygon - which you would to generate and supply to the tool to clip to the edge of the map.
Curtis,
Thank you so much for this information, I found DRG (.sid) files for the whole state I am working with. Any idea of how to mosaic these together? I will post another thread in this forum asking the same question.
Thank you all so much for your help! xander_bakker as well even though I might not be using the Python Script you came up with I appreciate all your help as well
I would suggest not mosaicking them together (Mosaic To New Raster could do this in theory) but instead add them to a referenced Mosaic dataset so you can keep them in their zippy tiny compressed .sid format and yet display them seamlessly. Much more efficient way to deal with a large collection of rasters like that. Once they are loaded to a Mosaic Dataset you can clip out what you want (if you must) with the Clip_management tool.
You can't mosaic sid files together in ArcMap... if memory serves you need FME
Wow that would be a pain, so I guess you'd have to Copy Raster them to another format and then mosaic them. Another argument to leave them as they are in .sid and use a mosaic dataset to display them together on the fly.
Sean
have you looked at the historical USGS topo maps available as free services through ArcGIS Online? (ArcGIS Online subscription required)
http://www.arcgis.com/home/item.html?id=40109482569c4bcc873dfa7fec7c167e
There are tens of thousands of maps mosaicked and ready to use, at different scales and from different dates...
http://www.arcgis.com/home/item.html?id=be337c042cd4476e9ba29d4c0e26b5fb
many more
If you really need to create your own mosaic, I'd use a Mosaic Dataset, and define the seamline for each map using the extents of the map area (inside the "collar"), then mosaic method = seamlines will hide all the collars. This will be a dynamic mosaic, allowing you to expose the collar of any selected map if desired.
If you really need to output a new file, my first question is "Are you sure?", but you can export or cache the dynamic mosaic to persist a static image.
http://esriurl.com/ImageManagement --> look for the Scanned Maps workflow.
Cody, I tried the link to the historical maps database but it did not work, i tried to sign in and it told me that I was not a member of this organization. Is it possible to run raster analysis on these basemaps? (supervised classification?)
My apologies. When I inserted those links, I edited the visible text but didn't realize the hyperlinks were still going to an internal AGOL organization. Please try them again - they should be accessible to anyone with an ArcGIS Online account.
No, maps are not suitable input to classification. Image classification is intended for imagery, not the thematic representation you'd find in a map. I've never heard of anyone attempting it, but I'm confident you won't get results that make any sense.
Separate from the issue of mosaicking maps and removing the collars, or accessing image services, perhaps we can help you better if you explain your objectives, and ideas on how you're planning to approach the problem.
Cody B.
I see, I do not have an arcgis online subscription anyways.
My objectives are to somehow calculate the area of historical strip mining within individual watershed boundaries (I have shapefiles of watershed boundaries, and historical topo map files (DRG's). But this is proving to be quite difficult in every aspect. The DRG files I have downloaded are (.sid) files so I had to transform them into .tiff files to work with them. I'm currently trying to mosaic them together but this process has been running for 4 days now and I'm just really not sure if what I'm doing will work out.
My professor thinks I can clip the mosiac to each watershed boundary and then run a supervised classification on the clipped image to extract areas of strip mining and non-strip mining, then perform a raster to vector on that image to calculate the area of strip mining.
Any advice on how to achieve this goal would be greatly appreciated.
Haven't tried it myself but what about importing all desired geotifs on a basemap. Create as many polygons (feature classes) as your geotifs, matching the area of each tif you want to keep and reexport them using the polygons as clipping feature? Then you will have all tifs without collars and only have to use the mosaic to raster tool.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.