Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Insight Map Creator - Raster Filter Shapefile

Insight Map Creator - Raster Filter Shapefile 12 years 9 months ago #1840

  • Meggs1
  • Meggs1's Avatar
  • Offline
Thanks for the explanation - Coming from a low knowledge base I'm starting to understand this a bit more. Making useful maps can be addictive...
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 9 months ago #1851

  • DannyGeysen
  • DannyGeysen's Avatar
  • Offline
Thank you Gregory for this enlightening contribution. Nice to know how to do it the right way.
Lowrance ProStaff
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2617

  • travisgriggs
  • travisgriggs's Avatar
  • Offline
For folks using Global Mapper, I just wanted to add that the "Create New Area Feature" of Global Mapper won't work. You have to use "Create New Line Feature," draw an actual polygon whose first and last points connect, then export that polygon as a vector shapefile.

If you attempt to use a vector area as a shapefile filter, IMC will not recognize it. Instead, it simply completes the project in just a few seconds with no output.

Just a heads up!
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2688

  • alain
  • alain's Avatar
  • Offline
thanks for the info
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2689

  • AnglingCharts
  • AnglingCharts's Avatar
  • Offline
Very strange, I make ALL my charts with GM13, and use area shapefiles created with area objects all the time. Sounds like a datum, attribute or projection issue ?

T
http://www.anglingcharts.com/

Mucking about in boats
Last Edit: 12 years 6 months ago by AnglingCharts.
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2693

  • alain
  • alain's Avatar
  • Offline
how I proceed with GM13









tiles select
IMC automatically limit max resolution

Last Edit: 12 years 6 months ago by alain.
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2694

  • AnglingCharts
  • AnglingCharts's Avatar
  • Offline
Try setting your layer attributes ? Put the overlaying object on a higher layer than the background object. Change your attribute names from U_LIMITE and L_LIMITE to U_LIMIT and L_LIMIT.
You probably have the correct attribute settings for a polyline, which are being inherited by the subsequent polygon when you convert it.

T
http://www.anglingcharts.com/

Mucking about in boats
Last Edit: 12 years 6 months ago by AnglingCharts.
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2695

  • gpiverson
  • gpiverson's Avatar
  • Offline
Trevor, I don't think that's his problem.

For the Raster Filter, the attribution is irrelevant.

The potential problems (ignoring standard raster issues because he gets it working with other methods):

M/Z Attribution

some applications have decided to start exporting PolygonZ shapefiles rather than Polygon shapefiles by default.

Since Z and M are unused by my application and M is pretty much unused by every GIS application in the universe, I don't bother to process these. There's a number of other issues with the geometry like being twice as large in computer memory, twice as large on your computer (which is a problem with a limited size format like SHP), twice as long to read, and substantially longer to use any GIS functions on.

There's 3 options and I went with the easiest:
- Reject any Z/M geometries (what it does now)
- Strip all Z/M geometries and turn them into regular geometries
- Rewrite all my Geometric Functions to handle 3D geometries and measures.

This should warn you and not apply a filter. In general, this happens on any geometry that isn't a Polygon.

Projection Issues

Self Explanatory for most of it but the filter polygon does need to be in the same projection that the raster inputs are.

This will legitimately produce no output unless your raster tiles are around 0 N,0 E

No Polygons Actually Exported

If the shapefile has the proper attribution but no entries in the file, it will produce no output with no warning because that's what the shapefile is telling it to do.
Last Edit: 12 years 6 months ago by gpiverson.
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2696

  • Matt
  • Matt's Avatar
  • Offline
One other possibility is that you are either not generating the vector and raster layers at the same time in the IMC, which would result in you not having the overlay tags set in the at5.xml file, or that you are not generating this file at all? I believe that means your area features won't show on top of rater - although I stand to be corrected.
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2697

  • gpiverson
  • gpiverson's Avatar
  • Offline
Matt wrote:
One other possibility is that you are either not generating the vector and raster layers at the same time in the IMC, which would result in you not having the overlay tags set in the at5.xml file, or that you are not generating this file at all? I believe that means your area features won't show on top of rater - although I stand to be corrected.

That doesn't matter.

The draw over raster function is independent of the raster layer it is going to render over.
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2698

  • Matt
  • Matt's Avatar
  • Offline
OK- thanks Greg. Actually I was thinking of a slightly different scenario, where you might have > 1 set of AT5 vector files, and I think they all need to be generated together to create a single at5.xml. Is there any way of merging the xml files? I have done it once or twice by hand and it seemed to work OK, but it's not the easiest solution. I think it could be useful for cases where you have some very large AT5 vector sets, such as OSM for a large area, and want to combine them with smaller custom maps.
The administrator has disabled public write access.

Insight Map Creator - Raster Filter Shapefile 12 years 6 months ago #2699

  • gpiverson
  • gpiverson's Avatar
  • Offline
It's generally unsafe to merge AT5.xml files (especially with the new category functionality) because the feature names are serialized on the fly and will likely not match between runs. What might be "pBLAH" in one run might mean something completely different in a different run. Right now there isn't a good solution in place but it's because neither one is implemented...both have been identified as improvements.

- Version 13 has the render over raster functionality coded directly into the features but it currently isn't being used.
- AT5.xml files need to go into the root folder. To work properly, they need to recursively affect any folder at or below where they are stored instead of generally affecting everything.

Either of these solutions solves the merging problem but the best solution will be a combination of both of these.
Last Edit: 12 years 6 months ago by gpiverson.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
SCROLL TO TOP