associare jpg ad un file shp

associare jpg ad un file shp

franz.vol
Participant Participant
1,380 Views
7 Replies
Message 1 of 8

associare jpg ad un file shp

franz.vol
Participant
Participant

Ciao a tutti, 

noi abbiamo fatto un video dal quale abbiamo estratto ogni singolo fotogramma ed uno shapefile con un punto in coordinate per ogni foto estratta, le foto ed i punti hanno rispettivamente lo stesso nome, volevo chiedervi se è possibile con map3d associare la foto al rispettivo punto lungo il tracciato in modo tale da avere il tracciato composto da ogni singola immagine.

Vi allego lo shape ed alcune foto

0 Likes
1,381 Views
7 Replies
Replies (7)
Message 2 of 8

Pointdump
Consultant
Consultant
Accepted solution

Francesco,
With Map 3D? No, I don't think so. I might be wrong, and someone could come up with something clever.
There is a way to use QGIS like that >>>Here<<<. And I found a Plug-In for QGIS, called "ImportPhotos" that looks like it might work. But I don't have any geo-tagged photos to test it.

ImportPhotos_1.png

 


Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
Message 3 of 8

Pointdump
Consultant
Consultant
Accepted solution

Francesco,
OK, I turned on "Location Tags" on my smartphone and took a photo. Then I used >>>This Method<<< to create a Geojson file which I imported into QGIS. It works, but you've still got to click on a point to see the photo.
I'll check to see if Map 3D can import a Geojson file.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
Message 4 of 8

franz.vol
Participant
Participant
Accepted solution

Grazie mille

0 Likes
Message 5 of 8

TerryDotson
Mentor
Mentor
Accepted solution

Does this look like the location of your two photos?

 

traiettroria_1Hz.jpg

 

Note that your JPG files contain GpsLatitude, GpsLongitude and GpsAltitude values, but do not have a direction value.   With the right tools, the location of all these images can be imported into CAD and combined with your primary project drawing.

 

What coordinate system is your project on, this command should echo it.

Command: CGEOCS

 

0 Likes
Message 6 of 8

fieldguy
Advisor
Advisor
Accepted solution

it might be there but it is not visible.  Right click on image file in windows explorer (eg. IMG_2996.JPG) and go to (Properties->Details).  Scroll down to the "GPS" section for Lat / Long / Altitude.  It will be there if the image was captured with a capable device and location was turned on.

 

You can search the web for "EXIF".  The details are (>>here<<).

 

We are using ID 0x0011 ("PropertyTagGpsImgDir") but it is only accessible through external program (developed in-house).  You might be able to find a free "EXIF" tool.  

Message 7 of 8

fieldguy
Advisor
Advisor
Accepted solution

there are online tools that will show you the value (http://exif-viewer.com/ ).

 

you will see a result like "GPSImgDirection 267414/2689".  the circle bearing is 267414 divided by 2689 (99.447) in decimal degrees).

 

i would use this if i only had a few to do (10 or 20). if you have several, i am sure you could purchase a tool (dotsoft?)

 

Message 8 of 8

TerryDotson
Mentor
Mentor
Accepted solution

Thanks for the mention.  We have tools to:

 

  1. Read JPG files and place camera symbols at the lat/long (if contained), projected to the current drawing system (state plane, etc).  If the direction is present the camera block is rotated to it.  All GPS data fields can be mapped to the blocks attributes and populated.
  2. A modeless preview window allows quick display of the referenced photo as the CAD crosshair passes over a camera symbol.
  3. A Gps data add/update tool that can read the current symbol location (and rotation) and add/update the GPS EXIF properties in the JPG images themselves.

These are available for plain AutoCAD (and Map3D) in our MapWorks and for Civil3D in our C3DTools.