Welcome, Guest
Username: Password: Remember me

TOPIC: Using "AT5 Map with Colour Gradient Shaded Relief"

Using "AT5 Map with Colour Gradient Shaded Relief" 11 years 6 months ago #4176

  • Meggs1
  • Meggs1's Avatar
  • Offline
Matt,
I'm really happy with the "AT5 Map with Colour Gradient Shaded Relief" export option. Unfortunately I don't have a "shore" so I end up with the Navico land colour for areas that have not been filled in by RM.
The image shows what I mean.



If I draw the "shore" as part of a Custom Polygon, what settings would I need to use so that I don't have the Navico land colour displayed. I am presuming this is possible. My "lake" is the Southern Ocean so I'm not even going to attempt to trace that out.

Thanks,
Meggs
The administrator has disabled public write access.

Using "AT5 Map with Colour Gradient Shaded Relief" 11 years 6 months ago #4241

  • Matt
  • Matt's Avatar
  • Offline
This is a tricky one Meggs. We actually set that background colour in the gradient relief export when generating that preset style. The reason we do it is because AT5 and transparency don't mix - we'd get black if we didn't use a colour. Land colour works (usually) because the water body is filled, and the land colour raster blends with land.
You could probably achieve what you want, but not by using a preset map export. You'd have to export the shaded relief by hand, which will have a transparent background, and then somehow either colour the background (combine it with an image of the same size of a single colour), or create a dummy background image and use that along with the shaded relief image when generating the AT5 raster in the IMC.

The latter method is probably easier:
  • Create a small image using e.g. paint. Fill it in your required background colour and save it. The image must be smaller than the SR, as lower resolution images will be processed by the IMC to show behind higher resolution images. The image could be tiny - 10px square if you want.
  • Make a copy of the .kml file that was saved when you exported the SR, and change the name of this copy to match your newly created "dummy" image.
  • Open the kml copy in an editor such as notepad (you might need to right click/open with, to stop it opening in Google Earth) and edit the href tag (see below) so that it has the name of your dummy image file (full path is not required, so long as the kml and image files are in the same directory).
  • Copy both your SR and dummy image and kml files to an empty directory, and run the IMC raster process on that directory. You will end up with a raster layer with your choice of coloured background. Your existing AT5.large should work fine over the top, so you only need to replace the contents of the ShadedRelief folder.

We might look at adding a background colour option for shaded relief export..

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<GroundOverlay>
<name>American Lake</name>
<color>ffffffff</color>
<Icon>
<href>dummy.png</href>
<gx:altitudeMode>clampToSeaFloor</gx:altitudeMode>
<viewBoundScale>1</viewBoundScale>
</Icon>
<LatLonBox>
<north>47.142168884</north>
<south>47.1080779591</south>
<east>-122.533470272042</east>
<west>-122.590449009258</west>
</LatLonBox>
</GroundOverlay>
</kml>
Last Edit: 11 years 6 months ago by Matt.
The administrator has disabled public write access.

Using "AT5 Map with Colour Gradient Shaded Relief" 11 years 6 months ago #4244

  • Meggs1
  • Meggs1's Avatar
  • Offline
Matt,
Your suggestion took away the Navico land colour but it left me with a black band around the mapped area. I'm sure I've had this before (and there were suggestions how to fix it) so I'll have to go digging.

An option, in RM, to overcome this issue would be appreciated. I can't be the only one to be trying to map parts of an ocean.

Thanks for the suggestion.

Meggs
The administrator has disabled public write access.

Using "AT5 Map with Colour Gradient Shaded Relief" 11 years 6 months ago #4260

  • Team Colibri
  • Team Colibri's Avatar
  • Offline
Why don't you just draw a boundary around the area you are mapping? That way everything inside the boundary will be seen by RM/IMC as water. I did this to start with on some of the larger lakes I'm mapping, just that the shoreline was tracked by the boundary and then the rest was "way out there".
Last Edit: 11 years 6 months ago by Team Colibri.
The administrator has disabled public write access.

Using "AT5 Map with Colour Gradient Shaded Relief" 11 years 6 months ago #4262

  • Matt
  • Matt's Avatar
  • Offline
A boundary won't help here, because this preset style is raster with only lines on top - so no filled shoreline. If there was, it would render on top of the raster.

The way we get around the black border in raster exports is to use the Raster filter Shapefile option and create a dummy "background" raster files in Lowrance land colour. This background is much larger than the project (from memory, I think we use something as simple as a degree of long/lat in all directions). A simple shapefile containing a polygon with the extent of the map is added, and the raster is then clipped to this area without leaving a black border.

Meggs - if you expand the dummy raster (alter the coords in the kml file, leave the image file the same), then add a shapefile to the IMC raster process you can achieve the same results. For your shapefile, you can create something in a user map - e.g. just a single custom polygon that comfortably surrounds your map area.

A bit of a hassle, but you only need to create the shapefile and dummy image file/kml file once, and you can save your project configuration in the IMC.
The administrator has disabled public write access.
SCROLL TO TOP