OCAD Internet Map: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) |
FBO (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(15 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==Export OIM== | ==Export OIM [[File:Space.PNG]][[File:Pro40px.PNG|This function is available in OCAD 11 Professional.|link=https://www.ocad.com/en/products/ocad-for-cartography]]== | ||
[[File:Export.PNG]] | [[File:Export.PNG]] | ||
Zeile 24: | Zeile 24: | ||
====General project settings==== | ====General project settings==== | ||
* Map title - Heading of the map | |||
* Map subtitle - may be a copyright statement or similar | |||
* Map title | |||
* Map subtitle | |||
* Base Map Layout | * Base Map Layout | ||
:Base Layer Name | :Base Layer Name - Name of the map (e.g. Citymap of Baar) | ||
: Edit layer enable | : Edit layer enable - Enables the users the ability to draw on the map | ||
: Searchbox enable | : Searchbox enable - Search for POI's (only works with PHP - Support) | ||
: Zoom levels, calculated from map size and DPI | : Zoom levels, calculated from map size and DPI (maximum possible zoom levels) | ||
* | * Create tiles (need to be selected, otherwise only the meta files are created) | ||
-> Click '''Next''' | -> Click '''Next''' | ||
<gallery widths=400px heights=400px> | |||
File:OIMExportAssistant1.PNG|General project settings | |||
File:OIMExportAssistantZoomLevels.PNG|Zoomlevel settings | |||
</gallery> | |||
====Zoomlevel settings==== | ====Zoomlevel settings==== | ||
''' | Select '''Zoom from''' and '''Zoom to''' levels which are created. Be aware that the overview map need a zoom level 0. | ||
Generated levels are highlighted green, not created levels are grayed out. If the file is not found it is highlighted in red. | |||
* '''Relink''' - change the folder of all maps | |||
* '''Change''' - change the map for the selected zoomlevel | |||
* '''Reset all to current file''' - currently opened file is taken for all zoomlevels | |||
-> Click '''Next''' | -> Click '''Next''' | ||
Zeile 50: | Zeile 55: | ||
'''Controll Options:''' | '''Controll Options:''' | ||
* Show Layer Selector | * Show Layer Selector - enables the user select different POI groups | ||
* Show Overview Map | * Show Overview Map - enables the overview map feature | ||
* Show Coordiantes | :*Maximize overview map - shows the map maximized by default | ||
* Show Permalink | * Show Coordiantes - show coordinates in the lower right corner | ||
* Show Permalink - enables the user the ability to link to a specific zoom, map view and layers | |||
'''Color and Size Settings: | '''Color and Size Settings: | ||
* Header Font Color | * Header Font Color - color of the map title | ||
* Header Background Color | * Header Background Color - background of the map title | ||
* Subheader Font Color | * Subheader Font Color - color of the map subtitle | ||
* Subhead Background Color | * Subhead Background Color - background of the map subtitle | ||
* Border Color | * Border Color - border color of the map | ||
* Site Background Color | * Site Background Color - general site background | ||
* Font Size - font size of the map title | |||
* Subheader font Size - font size of the map subtitle (e.g. copyright) | |||
* Border width - thickness of the border | |||
<gallery widths=400px heights=400px> | |||
File:MapLayout.PNG|Layout and settings of the OCAD Internet Map | |||
</gallery> | |||
-> Click '''Next''' | -> Click '''Next''' | ||
====Points of interrest (POI)==== | ====Points of interrest (POI)==== | ||
{| style="float:right; background:transparent; padding:0px; margin:0px;" | |||
|- valign="top" | |||
|[[File:OIMExportAssistantPOIOverview.png|thumb|left|400px|Overview about all POI's exported]] | |||
|} | |||
Choose '''Add''', the '''POI Selector''' dialog box appears: | Choose '''Add''', the '''POI Selector''' dialog box appears: | ||
* Title | ===== POI configuration of data source ===== | ||
* Dataset | * Title - name of the layer | ||
* Dataset - dataset to choose from | |||
* Condition | * Condition | ||
* Location field | * Location field - name | ||
* Point of Interest Type: | * Point of Interest Type: | ||
:: -Point (Vector) | :: -Point (Vector) - POI's are drawn as yellow dot on the map | ||
:: -Icon (Information Bubbles) | :: -Icon (Information Bubbles) - POI's are represented with the provided icon file | ||
-> Click '''Next''' | -> Click '''Next''' | ||
===== POI Icon Settings (if choosen) ===== | |||
Icon Settings: | Icon Settings (only if icon is chosen in the previous step): | ||
* Icon | * Icon - Path to the file (red background if file not found) | ||
* Icon Offset | * Icon Offset - offset from the anchor point | ||
* Icon Size | * Icon Size - size of the icon (only in html, image will not be resized) | ||
-> Click '''Next''' | -> Click '''Next''' | ||
===== POI Datafields ===== | |||
* Short description | * Short description - db field containing for short description (important for search) | ||
* Description | * Description - db field containing description in the info bubble or in the right info box | ||
* URL field | * URL field - db field containing the URL's | ||
* Link name | * Link name - db field containing a link name - if URL should be shown select the same as in URL | ||
* Link target | * Link target - link target for the browser | ||
-> Click '''Finish''' | -> Click '''Finish''' | ||
<gallery widths=200px heights=200px> | |||
File:OIMExportAssistantPOISelector.PNG |POI configuration of data source | |||
File:OIMExportAssistantPOIIconSettings.png | POI Icon Settings (if choosen) | |||
File:OIMExportAssistantPOIDatafields.png | POI Datafields | |||
</gallery> | |||
''' | Choose a directory and '''Save''' file. To see the internet map open the *.html file with double click in the browser. | ||
The search functionality only works on a server with PHP support otherwise the error message '''AJAX error: 0''' occurs. | |||
On the site [[HTML_Entities| HTML Entities]] the supported and convertable HTML characters can be seen. | |||
More advanced functions can be scripted. Examples can be found under [[OCAD_Internet_Map_scripting | OIM scripting]] | |||
Example of an OCAD Internet Map export: [http://ocad.com/demo/OIM_baar_web/OpenStreetMapBaar_example.html Baar city map] | |||
Previous Chapter: [[Server Client]] | Previous Chapter: [[Server Client]] | ||
Next Chapter : [[ | Next Chapter : [[Tutorials]] | ||
Back to [[Main Page]] | Back to [[Main Page]] |
Version vom 6. September 2012, 11:26 Uhr
Export OIM
Choose Export OCAD Internet Map from File menu to export the map as OIM (OCAD Internet Map).
With OIM you can publish big OCAD maps on internet. You can insert the OCAD Internet Map to a HTML file.
- Resolution: Enter here the resolution of the GIF (for Java) or JPG (for Flash) file.
- Part of map: Activate this check box to export a part of the map. The map section will be shown with a rectangle on the drawing window. You can alter the rectangle with the mouse.
- Click the button Setup to define the part of map to be exported by coordinates. The dialog box Setup Part of Map (Export) appears.
- Click the button Entire map to export the entire map.
- Click the button To current view to export the currently on the screen displayed map.
- If this check box is not active the entire map will be exported.
It is also possible to choose a defined format like A4 landscape.
-> Click Export. The OIM Export Assistand dialog box appears:
OIM Export Assistant
General project settings
- Map title - Heading of the map
- Map subtitle - may be a copyright statement or similar
- Base Map Layout
- Base Layer Name - Name of the map (e.g. Citymap of Baar)
- Edit layer enable - Enables the users the ability to draw on the map
- Searchbox enable - Search for POI's (only works with PHP - Support)
- Zoom levels, calculated from map size and DPI (maximum possible zoom levels)
- Create tiles (need to be selected, otherwise only the meta files are created)
-> Click Next
Zoomlevel settings
Select Zoom from and Zoom to levels which are created. Be aware that the overview map need a zoom level 0.
Generated levels are highlighted green, not created levels are grayed out. If the file is not found it is highlighted in red.
- Relink - change the folder of all maps
- Change - change the map for the selected zoomlevel
- Reset all to current file - currently opened file is taken for all zoomlevels
-> Click Next
Layout and functionality settings
Controll Options:
- Show Layer Selector - enables the user select different POI groups
- Show Overview Map - enables the overview map feature
- Maximize overview map - shows the map maximized by default
- Show Coordiantes - show coordinates in the lower right corner
- Show Permalink - enables the user the ability to link to a specific zoom, map view and layers
Color and Size Settings:
- Header Font Color - color of the map title
- Header Background Color - background of the map title
- Subheader Font Color - color of the map subtitle
- Subhead Background Color - background of the map subtitle
- Border Color - border color of the map
- Site Background Color - general site background
- Font Size - font size of the map title
- Subheader font Size - font size of the map subtitle (e.g. copyright)
- Border width - thickness of the border
-> Click Next
Points of interrest (POI)
Choose Add, the POI Selector dialog box appears:
POI configuration of data source
- Title - name of the layer
- Dataset - dataset to choose from
- Condition
- Location field - name
- Point of Interest Type:
- -Point (Vector) - POI's are drawn as yellow dot on the map
- -Icon (Information Bubbles) - POI's are represented with the provided icon file
-> Click Next
POI Icon Settings (if choosen)
Icon Settings (only if icon is chosen in the previous step):
- Icon - Path to the file (red background if file not found)
- Icon Offset - offset from the anchor point
- Icon Size - size of the icon (only in html, image will not be resized)
-> Click Next
POI Datafields
- Short description - db field containing for short description (important for search)
- Description - db field containing description in the info bubble or in the right info box
- URL field - db field containing the URL's
- Link name - db field containing a link name - if URL should be shown select the same as in URL
- Link target - link target for the browser
-> Click Finish
Choose a directory and Save file. To see the internet map open the *.html file with double click in the browser.
The search functionality only works on a server with PHP support otherwise the error message AJAX error: 0 occurs.
On the site HTML Entities the supported and convertable HTML characters can be seen.
More advanced functions can be scripted. Examples can be found under OIM scripting
Example of an OCAD Internet Map export: Baar city map
Previous Chapter: Server Client
Next Chapter : Tutorials
Back to Main Page