Print Page | Close Window

GEOCODE VLX

Printed From: CAD Forum
Category: EN
Forum Name: Civil 3D, Map, InfraWorks
Forum Description: Discussion about mapping and GIS applications Map, Civil3D, InfraWorks, MapGuide and Raster Design
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10973
Printed Date: 29.Sep.2026 at 01:22


Topic: GEOCODE VLX
Posted By: Kirk.Gustafson
Subject: GEOCODE VLX
Date Posted: 09.Feb.2015 at 23:11
Hi,

I have downloaded and installed the Geocode VLX file, and using it from the command line works great.  I have not had any success using the lisp functions described in the README.txt file.  Specifically, I'd like to be able to use the (revgeocode (getpoint)) function in a lisp routine.  Here are the results using the command line version, and then using the lisp version, picking exactly the same point...

Command: geocode

Reverse geocoding of picked points
Current coord.system is: UTM83-16F
Pick a point to rev.geocode <ENTER to exit>:
Address: 1892 Hughes Road, Columbus, MS 39702, USA
Pick a point to rev.geocode <ENTER to exit>:


Command:
Command: (revgeocode(getpoint))
Unknown command "GEOMARKPOINT".  Press F1 for help.
Unknown command "GEOCODE".  Press F1 for help.
"-no-geopos-"

Any suggestions??  (BTW, I am using this in AutoCAD Map 3D 2012).

Thanks!


-------------
K. Gustafson



Replies:
Posted By: Vladimir Michl
Date Posted: 10.Feb.2015 at 09:11
The (revgeocode) function depends on the LiveMaps functionality available only in the AutoCAD 2014 family (and higher). You can also try the (revgeocodeLL) function - just add "LL".
 
If it gives wrong results, try the following:
 
(while (setq p1 (getpoint "\nNext point:"))
(setq p1 (ade_projptforward p1)  p1 (list (cadr p1)(car p1)))
(PRINT (revgeocodeLL p1))
)


-------------
Vladimir Michl (moderator)
https://www.linkedin.com/in/vmichl/" rel="nofollow - LinkedIn , Autodesk Expert Elite



Print Page | Close Window