Inserting a Spatial reference

Inserting a Spatial reference

eddlewington
Participant Participant
223 Views
10 Replies
Message 1 of 11

Inserting a Spatial reference

eddlewington
Participant
Participant

Full version AutoCAD 2025.

I'm being asked to provide a .dxf with a spatial reference for conversion into a .json file by someone else but don't know where to start.

Currently I have an Ordnance Survey scale base map (Based in UK) and various pieces of geometry on top of the map. Can anyone link me to a guide or explain how I go about generating a spatial reference and including it in the .dxf which I will send for conversion into the required .json format.

Thanks!

0 Likes
224 Views
10 Replies
Replies (10)
Message 2 of 11

ChicagoLooper
Mentor
Mentor

Hi @eddlewington 

The guidance you are looking for will vary because it depends on the map you start with--there are many, too many, variables. 

 

Please provide more info. Can you share your Ordnance Survey scale base map for analysis? If it has enough info, hopefully it does, then a procedure can be provided. Without that survey no meaning instructions can possibly be offered.

 

Also AutoCAD are you running? Version and release year?

Feel free to use private message if you wish.

 

Chicagolooper

EESignature

0 Likes
Message 3 of 11

eddlewington
Participant
Participant

Thanks for the reply:

 

  • AutoCAD Full 2025
  • Original File attached.
0 Likes
Message 4 of 11

eddlewington
Participant
Participant

Original file

0 Likes
Message 5 of 11

ChicagoLooper
Mentor
Mentor

Hi @eddlewington 

Thank you for sharing.


National Trust, Arrington, correct?

You don't need to move, scale, or rotate your drawing. You can save your original drawing to dxf. Also, copy the info that's shown below (blue text) then paste it into Word, Notepad, or directly into the body of an email—it should accompany your dxf when you send it. If you need more geospatial assistance, just ask. 

 

As noted earlier, your drawing is already spatially accurate. You don’t ‘technically’ need a georef'd dxf file b/c your coordinates are already consistent w/OSGB 1936 grid but I’ve attached a georef’d dxf anyway.

 

The georeference is

OSGB 1936.NationalGrid (meters)

EPSG 27700

 

To get a non-gepref’dxf (yes, it’ll work even if your saved dxf is not geospatial):

Use SAVEAS=>then save with .dxf extension (refer to image below). 

001.png

Unfortunately AutoCAD  cannot Import nor Export json. So for your specific need the dxf format is the most AutoCAD can do. 

 

Here's a small portion of your drawing. Bing imagery is in the background. 

002.PNG

Chicagolooper

EESignature

0 Likes
Message 6 of 11

eddlewington
Participant
Participant

Thanks, that's really helpful. How do I bring up the Bing imagery within Autocad without importing it? I've had a file in the past which has a geolocation tab but I don't know how to bring this info up in a normal OS map.

0 Likes
Message 7 of 11

eddlewington
Participant
Participant

For example this file

0 Likes
Message 8 of 11

eddlewington
Participant
Participant

@ChicagoLooper 

Can I also ask how I check whether a Geo reference already exists in a .dwg? I'm trying to learn how to use autocad with site survey/GNSS tools and had a file today which didn't have the correct geo referencing. While I could import it in to the GNSS device no problem I couldn't plot the geometry on the ground because real life didn't match up with the map in any shape or form. I was told this was because the geo referencing was all out.

0 Likes
Message 9 of 11

pendean
Community Legend
Community Legend

@eddlewington wrote:

...Can I also ask how I check whether a Geo reference already exists in a .dwg...


pendean_0-1757090733873.png

 

0 Likes
Message 10 of 11

ChicagoLooper
Mentor
Mentor

@eddlewington 

Yes, method from @pendean will work because it will display the CS that's currently assigned.

 

It will not, however, verify whether the CS assigned is the RIGHT one.  

Chicagolooper

EESignature

0 Likes
Message 11 of 11

ChicagoLooper
Mentor
Mentor

Hi @eddlewington 

<<...How do I bring up the Bing imagery within Autocad without importing it?...>>

 

Regarding you uploaded drawing named Westonbirt Topographical and Utility Survey - Updated APR 2025.dwg You can do this:

1. On your layout tab, activate the viewport.

Image-1Image-1

 

2. With the viewport activated, go to Online Map Panel=>Map Aerial=>Capture Viewport 

Image-2Image-2

 

3. You may now change from Map Aerial to Map OFF because you captured the viewport's image--even though it's turned Off, that captured image is now sitting in modelspace.

Image-3Image-3

<<Technically speaking the Captured imaged is not an XREF. Your captured image will not appear in the External References palette. If you STRETCH an edge or corner of the image to make it bigger than your original captured area, you'll notice the stretching operation will cover more area and still be geospatially accurate. This behavior is not XREF behavior, it's more like you're streaming pixels over the internet because the coverage area remain live.>> 

 

4. OPTIONAL: In modelspace=>select the captured image=>go to Properties Palette and increase value of Brightness. (Brightness can also be controlled on the Ribbon.) I recommend brightness=80. Brightness values from 60 to 80 will frequently give best results, although some images may vary. 

Image-4Image-4

 

Do NOT recommend changing contrast or fade--leave them at their default, 50 and 0 respectively. Also, print a hardcopy before deciding on your brightness value. A hardcopy is an immense help when deciding the brightness. Changing brightness is optional. And don't forget, your linework should bear the load in your dwg, not the image.

 

 

Chicagolooper

EESignature

0 Likes