@neil.stapley
Based on drawing uploaded in post #7.....
Inserting all those geomarkers must have been time consuming. Now you’re trying to extract the GPS coordinates. Does that mean State Plane X/Y’s in feet? Or Lat/Longs in degrees? If you want X/Y/s in feet, then a block would’ve been easy to insert and easier, waaay easier, to leverage any accompanying data.
As you already know, blocks are DataExtraction friendly, geomarkers are not. Simply insert the blocks then use DataExtraction to pull the data out. If your block has attributes, such as inflow/outflow, pipe ID, and type, you can add those attributes then harvest that data during the dataextraction operation.
If you insert your blocks into a State Plane, Feet and want to pull out the Lat/Long degrees you can do that using blocks too. Here are instructions with pictures showing how:
1. Insert your blocks into a drawing with a properly assigned coordinate system, e.g. NC83F. The fastest way is to insert using a file. You may also insert them manually using your mouse. <<Create a new layer named CMP making sure all blocks so they land on this CMP layer.>> See image-1.
Image-1
2. Perform DataExtraction on the blocks. Then take this newly extracted list and arrange the columns to PNEZD or PENZD. Give this new data file a NEW name and save to your project folder in csv format. All design work like this should incorporate a UNIQUE identifier so add an additional column for Point Number. Now's a good time to fill in description, not during insertion!! The elevation can be filled in when data becomes available. For now, the Elev column is a 'placeholder' for future data. All odd point no.s are inlets. All even no.s are outlets. With creativity, the layer hosting the point can be used to denote the pipe material. See image-2.
Image-2
3. Open a brand new, clean drawing and assign NAD83 LL83, EPSG 4269. Next, use MAPIMPORT command and import the csv you saved in the previous step. Make sure you place these imported points on a dedicated layer named CMP, that way if you export to shapefile (or perform dataextraction) you can leverage the Layer name and it'll correspond to pipe material (type). See image-3.
See image-3.
4. Map3D will insert generic blocks. They’ll be very big. Select all the blocks and reduce their size. See image-4.
Image-4
5. Next, perform DataExtraction on the blocks. This time, the coordinates in your extraction output will be in NAD83 LL degrees, not feet. If you wish, fill in column F with CMP, the pipe material. See image-5.
Image-5
6. (Optional) You may use MapImport to insert and view the points on this new list. Since your coordinates are Lat/Long, your import settings must look like this. See image-6.
Image-6
7. (Also Optional) In the Properties Palette, the newly inserted blocks will display X as Long and Y as Lat, easting and northing respectively. Long is always negative in North America and Lat is always positive north of the equator. See image-7.
Image-7
Notes:
- You may use a non-attributed block but you might be limited in what you can extract. Attributed blocks are definitely better.
- When saving an extracted list to csv, there are several csv formats. Select the one named CSV(comma delimited) (*.csv). Not all csv extensions are 'readable' when performing MapImport in Acad.
- When using MapImport command to insert points from a file, the imported points will land on the current layer. Make the target layer your current layer before importing.
- Give each row in your point list a unique identifier. In the exercise above, integers were used because alpha and special characters are not allowed.
- The OP’s uploaded drawing had 30 total points. At MP-090-2610 there were duplicates, two inlets and two outlets. If you delete the duplicates, the number of points drop from 30 down to 28.
- All odd point numbers are inlets, all even points are outlets. You may, or may not, enter 1 and 0 in the elevation column to denote inlets and outlet. Or you may enter the ground elevation when it becomes available. Water will always flow downhill so the elevation at the bottom of swale will dictate which end is inflow and which is outflow.
- If you name a new column FLOW, Excel has an easy 'double-click command' that'll populate the column with either In or Out.
Chicagolooper
