Nearmap Raster dataset is outside of model extent

Nearmap Raster dataset is outside of model extent

David.McLaughlin
Explorer Explorer
732 Views
2 Replies
Message 1 of 3

Nearmap Raster dataset is outside of model extent

David.McLaughlin
Explorer
Explorer

Trying to connect Simple WMS to Nearmaps AUS
UCS MGA/20-56

Error is: 
Refresh failed for: Nearmap_Australia_GDAL_parameters.xml

Raster dataset is outside of model extent.


Logs: 2022-11-03T22:40:17Z [52428]: D:\IWDRprod\Git_Source\Desktop\Source\alx\DataTranslation\TranslationUtils.cpp(637): debug: Check the data import config: Nearmap_Australia_GDAL_parameters.xml , provider guid: ALX_RASTER_CFG


Followed the correct steps in nearmaps WMS Autodesk InfraWorks - WMS Integration - PRODUCT DOCUMENTATION - Knowledge Hub (nearmap.com)
 
Nearmaps support tells me the xml code and api is correct.

Anyone else had this issue:

code snippet from Nearmaps is below (with my correct api key):

<GDAL_WMS>
<Service name="WMS">
<Version>1.1.1</Version>
<ServerUrl>https://api.nearmap.com/wms/v1/latest/apikey/YOUR_API_KEY</ServerUrl>
<SRS>EPSG:4326</SRS>
<ImageFormat>image/jpeg</ImageFormat>
<Layers>Nearmap%2FNearmap%2FAustralia</Layers>
<Styles>DateOrEarlier</Styles>
</Service>
<DataWindow>
<UpperLeftX>108</UpperLeftX>
<UpperLeftY>-10</UpperLeftY>
<LowerRightX>155</LowerRightX>
<LowerRightY>-45</LowerRightY>
<SizeX>65400200</SizeX>
<SizeY>56282900</SizeY>
</DataWindow>
<UserPwd></UserPwd>
</GDAL_WMS>

 

thumbnail_image1.png

thumbnail_image2.png

thumbnail_image3.png

   

0 Likes
Accepted solutions (1)
733 Views
2 Replies
Replies (2)
Message 2 of 3

Karsten.Saenger
Autodesk Support
Autodesk Support
Accepted solution

Hi @David.McLaughlin ,

 

it seems as if the issue is caused by the Autodesk coordinate system boundary definition for MGA/20-56.

 

Your area of interest is X = 108° - 155° and Y = 10° - -45°.

The EPSG coordinate system definition shows two possible areas (-> epsg.io):

X = 93° - 173° and Y = -8° - -60°

or "Area of use: Australia - onshore and offshore between 150°E and 156°E."

The latter is used for the Autodesk coordinate system boundaries and it's outside of your area of interest, open the MAPCSLIBRARY in Civil 3D or Map 3D.

 

There are two things you can try:

  1. Search for another MGA coordinate system that covers your area of interest
  2. Duplicate coordinate system MGA/20-56 and edit the boundaries, so that your complete area of interest is included. Use your new custom coordinate system in InfraWorks.

KarstenSaenger_0-1667809573751.png

 

Regards,

Karsten.



Karsten Saenger
Message 3 of 3

David.McLaughlin
Explorer
Explorer

Hi Karsten,

Late reply apologies, thanks for help
After some trial and error I found I could use the LL-GDA94 

Cheers

DavidMcLaughlin_0-1680567660783.png

 

 

0 Likes