Add MAP class diagram#196
Add MAP class diagram#196havatv merged 3 commits intoMapServer:branch-7-0from geographika:map-object
Conversation
|
Thank you, @geographika! |
|
@havatv is correct, the image should live in the /en/images/ directory. |
|
I tried the following RST but the target image isn't copied across when building (the resized smaller image is fine): The Maybe I can drop the full sized image completely? |
|
As far as I can tell, |
|
I've tried several ways but it doesn't seem like it is supported. See https://stackoverflow.com/a/13075141/179520 The only 3 options appear to be:
Let me know which option best suits the project. |
|
I tried to link to an image located in /images from construction.txt in the en/mapfile/symbology directory, and this works for me in a local build:: |
|
@havatv - thanks for that suggestion. The main issue was that the image file doesn't get copied automatically from the /image/ folder to the built /_images/ folder when using the :target: directive. |
|
@geographika, I did not see that problem - but you solved it nicely! |
|
Thank you for this very useful contribution, @geographika! |
Image resized to have a width of 1024 pixels. The original is at https://github.com/geographika/mappyfile/blob/master/docs/images/map_classes.png
The image was created for the FOSS4GE mappyfile presentation, using MapServer colours.
To regenerate the image the script is available at https://github.com/geographika/mappyfile/blob/master/docs/scripts/class_diagrams.py
A preview is available at https://mapserverdocs.s3.amazonaws.com/mapfile/map.html