Error: Failed to get bands data

Error: Failed to get bands data

kscolfer
Participant Participant
3,491 Views
18 Replies
Message 1 of 19

Error: Failed to get bands data

kscolfer
Participant
Participant

Platform: AutoCAD Map 2014 64bit

 

I downloaded jp2 aerial photo from "The National Map".  The image is a NAIP aerial.  When I connect to it as a FDO Raster Image, it comes into the map in the wrong area (as in many miles off).  My map is set up on Colorado State Plane Coordinates (CO83-NF).  The metadata says that the aerial is UTM NAD 83, but it comes in as unknown datum.  So I edit the FDO coordinate system to UTM NAD 83 Zone 13N, meters (UTM83-13); zone 13 should be correct for this area.

 

Any ideas why this won't work?  I've done this dozens, if not hundreds of times in the past with all the previous formats that NAIP aerials came in and it worked well.  No luck with these jp2 photos though.

 

Help please?

0 Likes
Accepted solutions (2)
3,492 Views
18 Replies
Replies (18)
Message 2 of 19

braudpat
Mentor
Mentor

 

Hello

 

Welcome to the Autodesk/AutoCAD Forums !

 

Maybe you could try to install the SP 2 for MAP 2014 !?

http://knowledge.autodesk.com/support/autocad-map-3d/downloads/caas/downloads/content/autodesk-autoc...

 

Have you done some successful tests with an other ACAD MAP or with QGIS or other GIS software ?

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 3 of 19

antoniovinci
Advisor
Advisor

kscolfer wrote:
I downloaded jp2 aerial photo from "The National Map"

Please copy and paste here the link to that .JP2 imagery, thx.

0 Likes
Message 4 of 19

kscolfer
Participant
Participant

Antonio, Thanks for the reply.  Here is a link to one of the two photos with which I am having trouble: Click here to download

 

I appreciate your help!

 

Kelly

0 Likes
Message 5 of 19

kscolfer
Participant
Participant
Braudpat,

Thanks for the reply. Yes, good idea. I did install SP2 and still get the same result. Have not tried other ACAD MAP, and do not have access to other GIS software.
0 Likes
Message 6 of 19

diane.cloutier
Alumni
Alumni

Hi Kelly,

 

I downloaded the .jp2 file from the link you provided and added it to a new Map 3D 2014 drawing with no coordinate system assigned to the map or data.  The coodinates of the lower left corner of the image are about -11,897,254, 4,920,576.  

 

jpg2coords.png

 

I tested in in QGIS and got the same results.  The negative value of the X coordinate leads me to believe that the image is not georeferenced correctly, and therefore a data issue (rather than a software issue).  Can someone else confirm this?

 

Thanks!



Diane Cloutier
0 Likes
Message 7 of 19

kscolfer
Participant
Participant

That's interesting, and I'm really curious about other's opinions as well.  All of the various aerial photo formats produced by NAIP have worked well with ACAD Map, in the many years I've been using it (I think since 2005).  I've tried 3 or 4 of these JP2 formatted aerials, and none have worked.  I don't know what that means, but FYI.

0 Likes
Message 8 of 19

diane.cloutier
Alumni
Alumni

Hi Kelly,

 

Can you provide a full link to where you are getting this data that you are having the issue with (rather than to a single file download)?  Can you also provide a link to where you have downloaded the other photos that have worked for you in the past?

 

Thanks!



Diane Cloutier
0 Likes
Message 9 of 19

kscolfer
Participant
Participant

Hi Diane,

Here is the link to "The National Map Viewer" http://viewer.nationalmap.gov/viewer/

This is the same place I have been grabbing aerial photo images for years, however they migrated from tif to jp2 evidently in early 2013. I can't get you a tif from them because they are not offered any longer. However, I did start looking back at previous mapping efforts, and the jp2 images were working for me in 2013, just not recently this year. Like I said, I have recently tried 4 different jp2 images and none worked, so I don't know what's going on. I really appreciate your efforts to help me figure it out. Thank you.

 

P.S. All the other geo-reference data that I work with on a regular basis works just fine, including other aerial photograph formats, so it really is just these jp2 images that have recently been causing the headache.  I don't think its a global GIS problem with my installation.

0 Likes
Message 10 of 19

parkr4st
Advisor
Advisor

where is the image located?  Lat long or another reference, twom county, etc.

 

dave

0 Likes
Message 11 of 19

antoniovinci
Advisor
Advisor

Hi Kelly, your Jpeg2000 refers to Steamboat Springs (CO), isn't it..?

Please check if my attachment (monochromatic for bandwidth reasons) fits exactly to your UTM map, thx.

http://dropcanvas.com/lbisj

0 Likes
Message 12 of 19

kscolfer
Participant
Participant
Antonio, I think perhaps you figured something out. That image you sent does fit exactly into my map. I'm waiting anxiously to find out what it is that you figured out!

Thanks,
Kelly
0 Likes
Message 13 of 19

antoniovinci
Advisor
Advisor

Well, those "strange" coordinates are typical of EPSG:3857 reference system.

If you set it in your J2K imagery, you'd better convert it to a "human" CRS, e.g. EPSG:26913 as I did.

Message 14 of 19

kscolfer
Participant
Participant

Antonio,

 

Thanks for the response.  I've been out of the office for a few days.  I had to do a little research to figure out what an EPSG:XXXX CRS is.  Not terminology I am familiar with, but then, I'm no geographer.  I think it is the same as NAD 83 UTM Zone 13N, correct?  I thought that is what I did when I assigned UTM83-13 in the "edit spatial contexts" dialog box (see attachment) while bringing the map in as a FDO Raster.  AutoCAD did not recognize the NAIP photo's CRS and listed it as unknown, so I edited it in that manner, with it still showing up in the wrong place.  Obviously, you got it to show up in the correct space so you did something I didn't.  I just can't figure out how you did it.  Can you provide a step-by-step instruction, as its not working for me when I edit the CRS in the manner which I usually do.

 

Thanks for the help!

 

Kelly

0 Likes
Message 15 of 19

antoniovinci
Advisor
Advisor
Accepted solution

Unfortunately my old release does not support FDO, so you outta wait for someone's else help, sir.

Anyway, did you try my previous advice, i.e. set the EPSG:3857 upon opening your .JP2 file..?

0 Likes
Message 16 of 19

parkr4st
Advisor
Advisor
Accepted solution

Kelly

 

Here's a link to look at to see what crs tnm has available

 

http://www.usgs.gov/faq/categories/9854/3731

 

What types of projections are supported by TNM services?
 

In addition to the WGS84 Web Mercator Auxiliary Sphere projection (EPSG:102100), TNM Services support commonly used spatial coordinate reference systems, such as CRS: 84 and EPSG: 3785, 3857, 4267, 4269, 4326, 54004, 54008, 102113, and 900913. TNM Services also support Alaska and North Pole projections/coordinate systems, such as EPSG: 3338, 3571, 3572, 3573, 3574, 3575, 3576, 7250, 102016, and 102017.

 

UTM83-13N  is EPSG 32613,

 

 

http://reference.mapinfo.com/common/docs/mapxtend-dev-web-none-eng/miaware/doc/guide/xmlapi/coordsys... has a list of utm wgs 84 EPSG codes

 

http://reference.mapinfo.com/common/docs/mapxtend-dev-web-none-eng/miaware/doc/guide/xmlapi/coordsys...

 

It has several maps. look at the third one down.  Antonio thinks worldwide in terms of this type of grid which is why he is so good at placing items

 

use 3857 and the image is postioned correctly.  we just have to belive that.

 

dave

 

0 Likes
Message 17 of 19

kscolfer
Participant
Participant

Dave and Antonio,

Thanks to both of you for the help. You'll have to forgive my ignorance, but I had never even heard of EPSG before this discussion, since most mapping products I've been exposed to reference the description (i.e. UTM NAD83 Zone 13) rather than EPSG code, even though I now realize each CRS can be referenced by both. I am educated more now than before, thanks to you both. Using EPSG 3857 did in fact place the aerial in the right place. I just can't figure out why it works, since the metadata for those photos states that the horizontal datum is NAD83 (aka EPSG:26913, since the geographic area is Zone 13N), which didn't work. How did you guys know, and how was I supposed to know, that the metadata is misleading and the correct CRS to use is EPSG:3857 (WGS84-based Mercator[spherical projection])?

Just to be clear, my map is in Colorado State Plane CRS (CO83-NF, or EPSG:231),  and I set EPSG:3857 as the "native" CRS used for the photo when setting it as a FDO.  That is how the aerial is now correctly referenced in my drawing.

 

Thanks to you both!

0 Likes
Message 18 of 19

antoniovinci
Advisor
Advisor

kscolfer wrote:

How did you guys know?


 

Dave's already answered in his last post: "We just have to belive that".

For him it's a matter of faith, and for me... it's only italian "sixth sense", sir.

0 Likes
Message 19 of 19

kscolfer
Participant
Participant
Antonio,

Thanks, I've only been using AutoCAD for occasional GIS the past 10 or so years (occasional means 5-20 maps per year). I'm a biologist, not a cartographer. I learn new stuff every year. I gotta say, the "we just have to believe that" answer drives me nuts, but that is the way it seems to be in the AutoCAD GIS world. I truly appreciate your help, and envy your Italian 6th sense. Now I just gotta remember this, as my Irish American memory allows me to forget everything but my grudges!

Take care,
Kelly
0 Likes