Issue with mapiinsert command not recognizing world image?

Issue with mapiinsert command not recognizing world image?

faisal.merchantNG4QY
Contributor Contributor
1,858 Views
2 Replies
Message 1 of 3

Issue with mapiinsert command not recognizing world image?

faisal.merchantNG4QY
Contributor
Contributor

hello all,

 

I seem to have an issue with the mapiinsert command for GEO mapping. In the past I have been able to download an image with a georeference file from nearmap and insert them in the respective world cooridinates using mapiinsert. However now I don't seem to able to do it anymore.

 

For reference normally in each new job folder we have a folder called AERIAL in which we place our aerial image files. Usually it is 1 folder above where we save our xrefs. I rename the image and the georeference to the same shortened name usually just call it 'aerial' then when I mapiinsert CAD recognises the world image and pastes it accordingly.

 

However with the latest image I am trying it doesn't seem to recognise the world image anymore. As seen in the screenshot. I've downloaded other georeference maps to see if it was just a corrupted image but it doesn't seem to be the case.

 

However if I go into an old job.. and try referencing one of those images it works as intended! How odd..

0 Likes
1,859 Views
2 Replies
Replies (2)
Message 2 of 3

andrewpuller3811
Advisor
Advisor

I suspect you file path is too long. 

You need to keep the file path including the file name to 128 characters or less long for the MAPIINSERT command to see the World File.

 

There is a work around for this issue.

 

If you cant avoid the long file path, you can –

 

  • copy the files to a shorter file path location
  • attach the image into your drawing as usual for the shorter file path
  • bring up the External References palette by clicking on  Xref Manager on the Reference panel of the Insert Tab of the ribbon
  • select the image name in the External References palette
  • in the details area, click in the Save Path field and the ellipsis button should show on the right – small button with 3 dots
  • Click the ellipsis button to bring up the Select Image File Button dialogue
  • Navigate to the original image file location and select the image
  • Click the open button
  • The image found at location and the saved path location should update
  • You can delete the files from the shorter file path location

I think the mapiinsert command was written a long time ago and has not been updated to account for longer file names.

 

 

 



If a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 11
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2023
0 Likes
Message 3 of 3

ChicagoLooper
Mentor
Mentor

Hello @faisal.merchantNG4QY 

Unfortunately your post doesn't mention the coordinate system you've assigned to modelspace.

 

There's always, without exception, two (2) coordinate systems involved when inserting georeferenced images:

  1. The native CS given to the image by its author.
  2. The CS assigned to modelspace  

Civil3D/Map3D will consider both CS's and perform a transformation from the image's native CS to the CS you have assigned to modelspace. The transformation means if two different coordinate systems are involved, then C3D/M3D will make the image harmonize with modelspace.

 

For example, an image has WGS84 LL (EPSG 4326) in units of degrees while modelspace has Georgia State Plane NAD83 West using units of US feet. In this case, the two CS's are using different units (degrees vs. feet) but the insertion is accomplished accurately.

 

  1. Open the Map Task Pane using MAPWSPACE.
  2. Open the Data Connect Palette using MAPCONNECT.

1. Use an FDO connection instead of MAPIINSERT. If the CS is not recognized, you can EDIT so it uses the correct native CS.1. Use an FDO connection instead of MAPIINSERT. If the CS is not recognized, you can EDIT so it uses the correct native CS.

 

3. Click 'Add to Map' and the image will accurately load into modelspace. Assuming you've successfully assigned an appropriate CS to modelspace AND the image's native CS is correctly used to geolocate the image, then you can use Bing imagery as a basemap. This basemap can be used as 'confirmation' because your inserted image will be consistent with Bing maps.

2. The image is listed in the Map Task Pane. Bing aerial map is in the background.2. The image is listed in the Map Task Pane. Bing aerial map is in the background. 

Chicagolooper

EESignature

0 Likes