We have a map rendering engine (renders from MapInfo Interchange Format). This engine uses Mercator Projection. Now we have to insert a raster layer (orthophotos of a city), we have GeoTIFF files with the .tfw files.

The idea: we create ~200x200px png files for each zoom level and the client will ask a WCF service for the images with parameters: zoom level, top left coordinate, bottom right coordinate.

My problem is: how to make the vector and raster layers work together? I don't really want to change the aspect ratio of the raster images.

Thanks in advance, Mart

  • Anyone around here play around with MapInfo? – jvangeld Apr 20 '11 at 18:34
  • Why does adding vectors into the equation cause problems, and how does that relate to the aspect ratio? Happy to help but not sure I understand the question entirely – scw May 15 '11 at 6:04

A couple of things with Mapinfo.

The first dataset that you add to a MapInfo session sets the projection of the workspace. This an be overridden.

All subsequent layers added to the MapInfo session is reprojected on the fly to conform to the workspace projection. This is done for convenience, but can be a problem when performing reprojects and exports of information.

Raster images are by default given a Zoom extent (the extents at which the raster will be displayed). This can be overridden in the Layer Manager. One of my major issues with MapInfo Professional when I first started using it was this. I would add a raster dataset and it would not display. It turned out to be this 'feature' - it is quiet smart when viewing large raster images.

Could you elaborate on aspect ratio?

  • Thank you, be we don't use MapInfo Prof or any other software. This is a custom software development. – Mart Apr 22 '11 at 8:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.