Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: Query Location

  1. #11
    I could stop if I wanted to
    Join Date
    2004-11
    Location
    Somewhere close to hell
    Posts
    228
    Login to Give a bone
    0

    Default Re: Query Location

    Quote Originally Posted by jim.dahl

    1. Start with polygon.
    2. Have centroid of unique ID.

    Jim
    Jim,
    The polyline boundaries I have are mostly closed polyline rectangles, how can I create a topology and create centroids for these if you cannot have intersecting polylines in a topology?
    I keep getting an error when trying to create a topology, I'm assuming that it is because my quarter sections boundaries overlap/meet each other.
    Any ideas on how to deal with this?
    Thank you,
    Rob

  2. #12
    Active Member
    Join Date
    2002-11
    Posts
    50
    Login to Give a bone
    0

    Default Re: Query Location

    You end up with those errors when you have things like dangles or intersecting lines. None of your polygons should be overlapping to cause intersections as each polygon should be a unique 1/4 section. You should first run the map cleanup tools on your polygons. First break all crossings, then delete all duplicates until all you have are the polylines (not closed) that make up the polygons. Then you can do a topology. Then from that topology you can create the closed polygons.

    How have you identified your 1/4 sections in your drawing? Attached object data or enclosed text?

  3. #13
    I could stop if I wanted to
    Join Date
    2004-11
    Location
    Somewhere close to hell
    Posts
    228
    Login to Give a bone
    0

    Default Re: Query Location

    Quote Originally Posted by mohobrien
    You end up with those errors when you have things like dangles or intersecting lines. None of your polygons should be overlapping to cause intersections as each polygon should be a unique 1/4 section. You should first run the map cleanup tools on your polygons. First break all crossings, then delete all duplicates until all you have are the polylines (not closed) that make up the polygons. Then you can do a topology. Then from that topology you can create the closed polygons.

    How have you identified your 1/4 sections in your drawing? Attached object data or enclosed text?
    M,
    If I run cleanup on my boundaries, it deletes overlapping linework and since each quarter section is virtually connected, I no longer have a closed boundary.
    The quarter sections are defined by polylines that I queried from GIS data along with the legal description for each.
    Rob

  4. #14
    Active Member
    Join Date
    2002-11
    Posts
    50
    Login to Give a bone
    0

    Default Re: Query Location

    If I run cleanup on my boundaries, it deletes overlapping linework and since each quarter section is virtually connected, I no longer have a closed boundary.
    Yes, that's right. Thats how you create a topology. Once all adjoining boundaries are reduced to the single boundary line, the topology uses that pline as one of its 'polygon' sides. That same pline is used as a boundary of the adjoining polygon. That's how a topology relates the various polylines in a polygon topology. The tool 'Create closed polylines' is what you use to create closed polylines from that topology. How were your 1/4 sections identified in your drawing when you had just the original closed polylines?

  5. #15
    I could stop if I wanted to
    Join Date
    2004-11
    Location
    Somewhere close to hell
    Posts
    228
    Login to Give a bone
    0

    Default Re: Query Location

    Quote Originally Posted by mohobrien
    Yes, that's right. Thats how you create a topology. Once all adjoining boundaries are reduced to the single boundary line, the topology uses that pline as one of its 'polygon' sides. That same pline is used as a boundary of the adjoining polygon. That's how a topology relates the various polylines in a polygon topology. The tool 'Create closed polylines' is what you use to create closed polylines from that topology. How were your 1/4 sections identified in your drawing when you had just the original closed polylines?

    Got it!
    Next question,
    When I specify a location in a query and save that location "coordinates" to an external query file, I can then call them from a lisp routine.
    Now that I went through the trouble of linking access to map, can I somehow get those coordinates where I can call them from lisp?
    Rob

  6. #16
    Active Member
    Join Date
    2002-11
    Posts
    50
    Login to Give a bone
    0

    Default Re: Query Location

    What kind of fields do you have in your access db?

  7. #17
    I could stop if I wanted to
    Join Date
    2004-11
    Location
    Somewhere close to hell
    Posts
    228
    Login to Give a bone
    0

    Default Re: Query Location

    Quote Originally Posted by mohobrien
    What kind of fields do you have in your access db?
    I created two fields
    boundaries - legal description - text link in drawing
    coordinates - blank

    Rob

  8. #18
    Active Member
    Join Date
    2002-11
    Posts
    50
    Login to Give a bone
    0

    Default Re: Query Location

    So your drawing of the 1/4 sections already has a unique identifying number inside each polygon? If so, there is no need for linking to a db if what you want to do is use those polygon boundaries as the basis for querying from a larger drawing. ie a new drawing for each 1/4 section. What you can use are plot sets.

  9. #19
    I could stop if I wanted to
    Join Date
    2004-11
    Location
    Somewhere close to hell
    Posts
    228
    Login to Give a bone
    0

    Default Re: Query Location

    Quote Originally Posted by mohobrien
    So your drawing of the 1/4 sections already has a unique identifying number inside each polygon? If so, there is no need for linking to a db if what you want to do is use those polygon boundaries as the basis for querying from a larger drawing. ie a new drawing for each 1/4 section. What you can use are plot sets.
    What is a plot set?
    Will it provide me with the following data:

    Code:
    (ade_qrydefine '("" "" "" "Location" ("polyline" "polygon" "inside"  1 (0 0 1) 0.000000 (1.18173e+006 271156 0) 0.000000 (1.19751e+006 271156 0) 0.000000 (1.19707e+006 257360 0) 0.000000 (1.19706e+006 257003 0) 0.000000 (1.19701e+006 256004 0) 0.000000 (1.19697e+006 255005 0) 0.000000 (1.19693e+006 254006 0) 0.000000 (1.19689e+006 253007 0) 0.000000 (1.19685e+006 252007 0) 0.000000 (1.19684e+006 251850 0) 0.000000 (1.19679e+006 250852 0) 0.000000 (1.19673e+006 249853 0) 0.000000 (1.19668e+006 248855 0) 0.000000 (1.19663e+006 247856 0) 0.000000 (1.19657e+006 246857 0) 0.000000 (1.19562e+006 246886 0) 0.000000 (1.19462e+006 246917 0) 0.000000 (1.19362e+006 246947 0) 0.000000 (1.19262e+006 246977 0) 0.000000 (1.19162e+006 247007 0) 0.000000 (1.19122e+006 247013 0) 0.000000 (1.19022e+006 247026 0) 0.000000 (1.18922e+006 247039 0) 0.000000 (1.18822e+006 247052 0) 0.000000 (1.18722e+006 247065 0) 0.000000 (1.18622e+006 247078 0) 0.000000 (1.18592e+006 247085 0) 0.000000 (1.18492e+006 247109 0) 0.000000 (1.18392e+006 247133 0) 0.000000 (1.18357e+006 247142 0) 0.000000 (1.18292e+006 247154 0) 0.000000 (1.18192e+006 247173 0) 0.000000 (1.18092e+006 247193 0) 0.000000 (1.18096e+006 248192 0) 0.000000 (1.181e+006 249191 0) 0.000000 (1.18104e+006 250190 0) 0.000000 (1.18109e+006 251189 0) 0.000000 (1.18113e+006 252188 0) 0.000000 (1.18114e+006 252498 0) 0.000000 (1.18117e+006 253497 0) 0.000000 (1.1812e+006 254497 0) 0.000000 (1.18122e+006 255496 0) 0.000000 (1.18125e+006 256496 0) 0.000000 (1.18128e+006 257496 0) 0.000000 (1.18129e+006 257777 0) 0.000000 (1.18132e+006 258776 0) 0.000000 (1.18135e+006 259776 0) 0.000000 (1.18173e+006 271156 0))""))
    Rob

  10. #20
    Active Member
    Join Date
    2002-11
    Posts
    50
    Login to Give a bone
    0

    Default Re: Query Location

    Not directly but it approaches the problem from a slightly different angle. The drawing that contains all the 1/4 sections (with appropriate unique ID attached as object data to the individual 1/4 sections) is used as the source of the location part of the query. The coordinates of the polygon are picked up automatically by simply calling the ID. The plot map set routines are in the command MAPPLOT. It's a far slicker way to plot than by rolling your own. If things are a little different in your situation, you can roll your own with the (map_pltXXX) routines in the map api.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Location of Call Out | Location of Detail
    By baker in forum AutoCAD Sheet Set Manager
    Replies: 1
    Last Post: 2013-07-10, 06:06 PM
  2. Publish DWF query
    By Dave F. in forum Revit - Platform
    Replies: 0
    Last Post: 2008-11-12, 11:33 AM
  3. Doing query through FDO
    By VBOYAJI in forum AutoCAD Map 3D - General
    Replies: 4
    Last Post: 2007-04-20, 09:38 AM
  4. map query's from GIS shapes
    By gisdude in forum AutoCAD Map 3D - General
    Replies: 3
    Last Post: 2006-03-31, 11:02 PM
  5. Massing query?
    By aliya14 in forum Revit Architecture - General
    Replies: 8
    Last Post: 2006-03-24, 04:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •