GeoMedia 6.1.5.19 now has the capability to publish the contents of your map window to a Google KML file. The command is not found under the standard export pulldown menus at Warehouse | Export To but rather under the File | Publish pulldown menus. Unlike the other export commands which work at the feature class level, the Publish to KML command operates at the map window level. Whatever you see in your map window – the features, the color, images, fonts, style, etc. will be published to the KML file, almost WYSIWYG like. That is why you have to layout your map window nicely first before activating the Publish to KML command.
- Nicely setup your map window first, e.g. like the screenshot below.
- Select File | Publish | Configure KML Publishing.
The Configure KML Publishing dialog box appears.
- For each of the Legend entries, click on the legend entry name. Then in the Get placemark names from drop down list, select an attribute from the legend entry to be used as the placemark name. Or choose Legend Entry Title to use the legend entry’s name as the placemark name.
- Toggle on Publish Attributes if you want to see the legend entry’s attributes in the KML file. This is optional.
- Click OK.
The Publish Map dialog box appears.
- In the Target format drop down list, select KML. In the Publish to field, click Browse and enter the name of the output KML file.
- Toggle on Display in target application if you want Google Earth to display the new KML file. This is optional.
- Click OK.
The Google Earth application displays the new KML file.
Note: the color of the KML lines is the same as the color in GeoMedia.
No comments:
Post a Comment