Skip to main content
Solved

is there any one who know how to create a legen and put symbols on a map


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

Best answer by redgeographics

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!

View original
Did this help you find an answer to your question?

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+48
  • Celebrity
  • Best Answer
  • April 18, 2020

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!


redgeographics wrote:

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

 


redgeographics
Celebrity
Forum|alt.badge.img+48
oussemachaabani wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings