Text Export from AutoCAD Map 3D

313 views
Skip to first unread message

fooswolf

unread,
Mar 16, 2009, 3:02:15 PM3/16/09
to KML Developer Support - Getting Started with KML
I am creating KML files from both AutoCAD Map 3D using the Google
Earth Extension and MapInfo 8.5. For example I have some parcel’s
drawn inside of AutoCAD MAP with the WGS 84 coordinate system and they
are geospatially correct. I have no problem getting the parcel
polygons to display appropriately in Google Earth using the Google
Earth Extension Export utility. However the text comes in like a
standard pushpin placemark (with no icon). Therefore the imported
text is always displayed no matter the magnification. I would like to
have the text be visible at certain elevations, for example zoomed
close to ground and disappear at higher elevations. Ultimately I
would like my text to appear like the text Google uses for Streets,
flat on the ground and visible at only certain elevations. Is this
possible and if so how? The kml below is a sample, please add
anything necessary. It would also be nice if I could rotate the text/
label.

<kml>
<Document>
<name>Sample Text2.kml</name>
<Style id="sn_noicon">
<IconStyle><Icon></Icon></IconStyle>
<ListStyle></ListStyle>
</Style>
<Placemark>
<name>Redfield Arkansas</name>
<LookAt>
<longitude>-92.18226943999996</longitude>
<latitude>34.44413611000002</latitude>
<altitude>0</altitude>
<range>4000.00000000</range>
<tilt>0</tilt>
<heading>2.206509810265315e-014</heading>
<altitudeMode>relativeToGround</altitudeMode>
</LookAt>
<styleUrl>#sn_noicon</styleUrl>
<Point>
<coordinates>-92.18376849019401,34.44320416037072,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>

Roman N

unread,
Mar 20, 2009, 9:29:15 PM3/20/09
to KML Developer Support - Getting Started with KML
Hi fooswolf,

You can use regionation (<Region> tag) to make the label appear only
when the camera is in a certain altitude range. Here is a doc that
should help:

http://code.google.com/apis/kml/documentation/regions.html

Regarding flat-on-the-ground labels... that's currently not possible,
but you may want to file a feature request for this at:

http://code.google.com/p/kml-samples/issues/list

- Roman
Reply all
Reply to author
Forward
0 new messages