Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: OOM screencasts

in: Spike

May 25, 2015 4:54 AM # 
Pink Socks:
Hey Spike, I watched some of your old screencasts about setting up georeferenced basemap stuff in OOM, and I had a question about the images from the National Map Viewer.

I followed the instructions, which sent me an email with 9 links. I downloaded those 9 files and extracted them. In each of the resulting 9 folders, there's a super-high resolution .jp2 file (.075m resolution, 200MB file) along with a low-res .jpg (1024x1024 pixels). I can import the .jpg into OOM and it's georeferenced easy-peasy, but I can't get the high-res one through this method. I was wondering if you had both files (.jpg and .jp2) of your Lawrence map.

My situation isn't a total loss, though. I can download the same super high-res files from USGS Earth Explorer. Those are TIFFs (12000x12000), and apparently they are georeferenced, but I can't seem to load them properly that way. I can, however, import them unreferenced and adjust them manually on top of the low-res .jpg from the National Map Viewer.
Advertisement  
May 25, 2015 1:10 PM # 
Spike:
I don't really remember what I did with the screen cast, but I think I probably just used the jpeg file even if the resolution wasn't as good.

For real mapping projects, I've been opening the .jp2 files in "Global Mapper" (which I have access too after Kevin Shipley from PTOC died). I then export the specific area I use as a TIFF file.

If I remember right, the National Map Viewer used to provide all of the files as jpeg (even the super detailed ones) but made some sort of policy/procedure change and now only the lower resolution files are jpeg.

I haven't tested it, but I wonder if it'd work to use IrfanView to open the .jp2 file and convert it to .jpg for use as a template in OOM. It might be worth a try.
May 25, 2015 1:46 PM # 
Spike:
I just used IrfranView to open a .jp2 file and save it as a jpeg that I could open as a template in OOM. I didn't deal with georeferencing, but I would think that's a solvable problem.
May 25, 2015 2:23 PM # 
Spike:
Got it to work. Here is what I did. I used IrfranView.

1. In Irfranview, I opened the .jp2 file and save it as jpeg, say "test.jpg" (Opening the file is slow if it is a large file).

2. Copy and rename the .j2w file (which is a "world file") and give it the name "test.jgw". I did this in Notepad.

3. In OOM, I open test.jpg as a template and use the "georeferenced (world file)" selection. The template goes to the correct location.
May 25, 2015 5:56 PM # 
Pink Socks:
Hmm, I did all that but OOM won't recognize the new one as georeferenced.

However, converting from jp2 to jpg reduced the file size greatly (200MB to 44MB, without losing any notable detail), so it's a lot easier to work with. I just imported the template and put in 0.075 meters/pixel and manually placed it. Pretty easy.
May 26, 2015 12:24 AM # 
Spike:
Does the template open but land in the wrong place or not open (or maybe you don't get the option of it being referenced...or something else)?
May 27, 2015 6:10 AM # 
Pink Socks:
I tried it a few times. One time it allowed me to choose georeferenced, but then I never found where it put the image. And the other time it didn't give me the option.

However, since the image was 0.075 meters per pixel (as posted online) and that's something I can put into the box, it comes in exactly the right size. And then I apply 4 pass points for each corner of the high-res map to match the corners of the low-res (and geo-referenced) image.

When I made the map last summer, I struggled with the basemap templates for a while, but the OSM and USGS imports work out really well.

I'm still having issues with contours. I can get the contours I want from LIDAR using QGIS, but I can't seem to import them into the right spot at the right scale. I can still work it, though. I just select all contours and rotate and scale them to fit the aerials/OSM stuff. I guess I haven't worked on anything where this method hasn't worked yet. It's not automatic, but it's not hard.
Feb 4, 2018 5:15 AM # 
andreais:
OK, I tried everything suggested here and in posts from 2014 and 2015..... this is one example of a jp2 which in the past was available as a zipped folder including jpg and jgw files location of JP2 file
I am trying to reproduce getting the orthoimage for Carver Lake Park, Woodbury, MN because O know what to expect from the old files, which however are no longer available on https://viewer.nationalmap.gov/basic/#productSearc...
I can't figure out where the georeferencing data is. Tried out Irfanview and QGIS, definitely still doing something wrong :(
Feb 6, 2018 2:36 AM # 
Spike:
I played around with the JP2 file a bit, but then saw that you got an answer on the main AP discussion.

I wish they'd kept the better images on the national map viewer....
Feb 6, 2018 5:23 AM # 
Pink Socks:
I was aware that the images were going away, and then they did, and then I emailed the contact person. They replied within a day, but their answer wasn't very satisfying.

Please login to add a message.