Skip to main content

Actually i have to prepare a touristique card so i need to prepare a legend and put some figurative symbols on the map so it will be more descriptif and give the user more information . if someone have any ideas of how to do it please. i'm using a shapefile of a country as a reader and i want to get a shapefile as a writer . thanks

First of all I would strongly recommend not using Shapefile as a target format, it has a couple of limitations, such as not supporting text and style, that make it unsuitable for a map.

In addition to that I would strongly recommend you use cartographic software to produce the map. FME is great for transforming data and while it is possible to use it to automatically create maps it can be quite a hassle. Personally I use the Adobe Illustrator/Avenza MAPublisher combination for producing maps (but as I am also a partner of Avenza I am biased of course), alternatives would be ArcGIS or QGIS (and there's others).

If you do want to do this with FME your best option would be to write out to PDF. Use PDFStylers to assign styles to your data.

For the legend you can create a standard one at the correct size in the same projection as your map data, but at a standard location (e.g. keep its lower left corner at 0,0) and then use the Offsetter to place it relative to your data. Or... add it to a separate box in the PDFPageFormatter.

Hope this helps!


First of all I would strongly recommend not using Shapefile as a target format, it has a couple of limitations, such as not supporting text and style, that make it unsuitable for a map.

In addition to that I would strongly recommend you use cartographic software to produce the map. FME is great for transforming data and while it is possible to use it to automatically create maps it can be quite a hassle. Personally I use the Adobe Illustrator/Avenza MAPublisher combination for producing maps (but as I am also a partner of Avenza I am biased of course), alternatives would be ArcGIS or QGIS (and there's others).

If you do want to do this with FME your best option would be to write out to PDF. Use PDFStylers to assign styles to your data.

For the legend you can create a standard one at the correct size in the same projection as your map data, but at a standard location (e.g. keep its lower left corner at 0,0) and then use the Offsetter to place it relative to your data. Or... add it to a separate box in the PDFPageFormatter.

Hope this helps!

thank you so much for your help just i need to ask you how can i add some figurative symbols if you understand me because i am doing a touristique map

 


thank you so much for your help just i need to ask you how can i add some figurative symbols if you understand me because i am doing a touristique map

 

In that case the easiest way is to use the MapnikRasterizer and generate a JPG image. It has the option of using SVG symbols (but you have to make those first, in e.g. Adobe Illustrator or Inkscape).

Note that you have no way of ensuring that texts and symbols don't overlap unless you build that in FME. Alternatively you may want to look in to the MaptextLabeller, an extra cost plugin, for text labelling. That does have the option of avoiding overlapping texts.

But again, for a tourist map, I would not recommend using FME.


Reply