Dxf2Map
USER MANUAL (version 0.22)
Copyright © 2021 AnCode
TABLE OF CONTENTS
1 INTRODUCTION. PROGRAM DESCRIPTION
3.5 IMPORT MAPPING AND CHANGE DATUM WINDOWS
Dxf2Map is an application for mobile devices (phones and tablets) running Android operating system (OS) that allows you to import geolocated graphic data files in DXF format and draw the imported graphics on top of Google Maps. In this way, the information on the maps can be customized by adding new data of interest to the user.
Additionally, Dxf2Map allows you to see and share in real time the location of the device on the personalized maps, in addition to the orientation (compass), and includes a diagram of the sky through which you can check the status of the device's GPS receiver, including the location of the satellites in view and in use, the constellation to which they belong and the signal strength received from each of the satellites.
On this basis, with Dxf2Map geolocated photographic reports can be made using the device's camera, and you can generate PDF and DXF documents for each report, including a location map of the photographs of each report, and descriptive sheets for each photograph. The generated reports in DXF format are geolocated in UTM coordinates.
The application allows to upload photos from the device's image gallery within a report and, later, assign the geolocation and orientation data to the photos by simply capturing the location on the map through a target.
The geolocation data, orientation and description of the photos of each report are permanently stored in the photos themselves through the EXIF standard, (Exchangeable image file format, is a specification for formats image files that allows you to store metadata in them).
You can view the photographs of each report in its location on the map, or in a list of the photos of the report, or in a full screen photo gallery.
The photographs of each report can be ordered according to the location where they were taken, or according to their age. The reports will be generated with the photos in the selected order.
The displayed location units can be selected from decimal degrees, sexagesimal degrees, and UTM coordinates. The reports generated will show the selected unit.
The reports generated can be shared (messaging, mail, cloud storage) from the same application, as well as the geolocated photos and the location of the device.
The application requires the following permissions to function properly:
- Device location.
- Device camera.
- Read / write to the external storage of the device.
The minimum version of the OS supported by the application is 4.1 (Jelly Bean).
WARNING: If you uninstall the application, all the projects, photos and reports generated with the application will be deleted, being a non-reversible action.
To use the program, you must create a project, or open an existing one.
Each project is identified by its name (entered by the user) and its creation date (automatically generated).
The information that can be added to a project is as follows:
- Cartography imported from DXF files.
- Pictures obtained with the device camera, or selected from the device gallery, and their geolocation data, orientation, description and date of creation.
For each project, the following reports can be generated automatically.
- Photo report in PDF. It includes a DIN A3 size drawing with the location of the photos in the report drawn over the base map, and a descriptive tab of each photograph in DIN A4 size.
- Photo report on DXF. A DXF geolocated file with the position of the photos drawn over a snapshot of the base map area in which the photos are framed.
- Map capture in DXF. A DXF geolocated file that includes a snapshot of the base map area displayed on the device screen.
Two files are generated for reports in DXF; a DXF file, and an image file in .png format with the base map image.
The generated DXF file includes a geolocated external reference to the generated image file, so when you open the DXF file, the map image will be displayed in its UTM coordinates and scaled to the actual size of the territory represented in the image. Both files (image and DXF file) are presented compressed in a single .zip file, for easy handling and sending.
Both photos and reports exported in DXF and PDF are stored in the following device’s folders:
· If your Android OS version is 5.0 (LOLLIPOP) and over,
Internal storage/Android/media/com.ancode.dxf2map
· If your Android OS version is older than 5.0 (LOLLIPOP),
Internal storage/Android/data/com.ancode.dxf2map/files
Finally, from the app you can share the following information via messaging, mail or cloud storage:
- Device’s location.
- Generated PDF and DXF reports.
- Photographs of the reports. It is recommended not to send them by chat applications, as in this case it is common for the image to lose the associated EXIF information (location, orientation and description of the photo).
This is the first one displayed when you start the application. Displays four items.
- A compass pointing to magnetic north.
- A button to create a new project.
- A button to open an existing project.
- A “about…” button to access information about the application (author, version, manual, third parties, share app, EULA, etc.).
| |
New project
This button opens a pop up window to enter the name of the project you want to create.
The application does not allow you to create projects with empty name, nor two projects with the same name.
Once you have entered a valid name and after pressing the accept button, the new project is created and the map window opens. This window is described in the section map window.
Open project
Pressing this button displays the project management window.
This window allows the creation of new projects, and the selection, deletion and reorganization of user-created projects.
As you can see in the image, the window includes the following items.
- A list of projects created. If no project is already created, the list is blank. Each project displays its name, the number of photos it contains, the name of the associated mapping, and its creation date.
- A button to create a new project. Pressing this button displays a menu to enter the name of the project you want to create. As already noted, the application does not allow two projects with the same name, nor projects with the empty name. Once you have entered a valid name and after pressing the accept button, the new project is created and the map window opens, which is described below.
- A control to sort existing projects. They can be sorted by name, by number of photos, or by creation date.
| |
If any project in the project list is long clicked, the window goes to edit mode, a delete button appears and, next to each project in the list, a selection box and a button to modify the project name.
Pressing the delete button deletes previously selected projects using the corresponding selection box, and the window returns to its normal state. If no project has been selected, the window simply returns to its normal state.
This option does not remove from the device's memory the files of the photos that were in the deleted projects.
By normally clicking on any project in the list, the map window opens with the selected project loaded.
It is the main window of the application, where the main menu is located and the project data is displayed: the base map, the overlapping DXF mapping, and the project photos geolocated on the base map.
The window includes the following controls.
Main menu
This control opens the main menu of the application in the form of a side menu that can also be opened by swiping from the left side of the screen to the right.
|
The main menu consists of the following sections.
File.
- Projects. Opens the project management window.
- Import mapping. To upload a new mapping to the project in use. Clicking it opens the default file manager of the device to let you choose a dxf file. You can choose even files stored in your Google Drive account.
- Project photos: To go to the project photo window, which is described in detail later
- Take a photo: Open your device's camera. The photo obtained will be automatically included in the project in use.
- Add a photo from the gallery: To add an existing photo from your device's memory or you Google Drive account to your project.
The application stores photos of all projects in the following folders:
· If your Android OS version is 5.0 (LOLLIPOP) and over,
Internal storage/Android/media/com.ancode.dxf2map/Images
· If your Android OS version is older than 5.0 (LOLLIPOP),
Internal storage/Android/data/com.ancode.dxf2map/files/Images
Export.
To choose the report you want to export or share. Reports will be generated using the base map configuration and coordinate units that the application has at the time of reporting.
- Photo report in PDF format.
- Photo report in DXF format.
- Map snapshoot in DXF format.
- Share report.
The application stores the generated reports in the next folders:
· If your Android OS version is 5.0 (LOLLIPOP) and over,
Internal storage/Android/media/com.ancode.dxf2map/Exports
· If your Android OS version is older than 5.0 (LOLLIPOP),
Internal storage/Android/data/com.ancode.dxf2map/files/Exports
Base map.
To change the type and customize the background map display to be displayed on the screen. The selected map type will be the one that will be exported in the different automatically generated reports.
The following types of maps can be displayed.
- Roadmap.
- Satellite.
- Roadmap and satellite.
- Terrain map.
- No base map. Only imported mapping, on a black background.
- Transparency (between 100 and 0). Highlights the imported mapping over the base map. If the value is 100, the imported mapping with the transparent background on the base map is displayed, so the imported mapping will not highlight. If the value is less than 100, the base map display will be dimmed to 0, in which case the completely opaque black background will be displayed, so only the imported mapping can be seen.
- Center view:
o If the project has a loaded mapping, the map is framed to show all the on-screen mapping, and the north is centered at the top of the screen, regardless of the geolocated photos the project may have.
o If your project doesn't have an uploaded mapping, but you have photos with associated location data, the map is framed to show all geolocated photos in the project on the screen.
o If the project has no mapping, no photos with associated location data, nothing happens.
GPS.
- Show/hide location. This button can be in two states:
o Hide location. The location will not be displayed. In this case the icon will be white and is crossed out.
o Show location. The user's location appears on the map, as long as the location is enabled on the device. In this case the icon will be green, and a new control will appear on the screen, which allows you to choose between setting the user's location in the center of the screen or not doing so.
- Set on-screen location. By activating this control, the app will always keep the device position in the center of the screen, and the map rotation will be activated based on the device's orientation to the North (compass mode).
- GPS status. This control opens a window that includes data of interest from the device's GPS receiver, mainly the GPS location, and the satellite data in sight. It is described in section GPS window of this manual.
About.
The application help window opens, where you can view app data, third parties, share and rate the app. End User Agreement License (EULA) is also included.
Below is a series of images with the contents of the menu.
| | |
In addition to the main menu, the map window includes the following shortcut controls to several of the functions already included and described in the main menu.
- GPS status.
- Center view.
- Show/hide location.
- Fix location.
- Take a picture.
Finally, the map window includes the following additional elements.
Project name
Displays the name of the selected project. Clicking opens the project photo window.
Map scale
Displays the real-time scale of the part of the map displayed on the screen. Includes distance units in kilometers and miles.
Zoom in and out
Increases or decreases the zoom level of the map displayed on the screen.
North
Indicates the direction north. If pressed, the map will be oriented north aligned with the device screen, overriding any previous rotation of the map.
Project photo markers
Each project photo that has location data is represented on the base map by a marker that includes the name of the photo and is oriented according to the direction in which the photo was taken (assigned by the user by capturing location on the map).
Clicking on a photo marker will open an information window for the selected photo, including a preview of the image, its name and description, and a control to change its location. In addition, the map will be centered on the screen to frame the position of the selected photo.
|
If you swipe left over the photo, the information window will load the next photo in the project that has associated coordinates. Swiping to the right will load the previous one. Each time a new photo is uploaded to the info window, the base map will be re-created to frame the new uploaded photo in its position.
Clicking on the photo information window will open a full-screen photo tab, which is described in the geolocated photo window section
To prevent multiple nearby photos from being seen overlapping the map, the app automatically groups and ungroups photo markers based on their proximity on the device screen, displaying a common marker for multiple photos. Each of these common markers shows the number of photos grouped under it. By tapping a grouped marker, the app will frame the map to show only the photos grouped on the taped marker.
This window includes the device's GPS receiver interest data, overlaid on the base map (if the device location is turned on, the base map will appear centered on the device's location and oriented northward, as a compass).
- If it's on or off.
- Number of satellites in sight and the number of satellites used in location determination.
- Longitude, latitude and azimuth obtained. You can choose the location units between decimal degrees, six-hundredth degrees, and UTM coordinates. The azimuth is shown in degrees.
- Height and time zone of the location obtained.
- Accuracy of the recorded location (in meters), date and time the location measurement was made, and location provider employed.
The window includes several additional controls.
- Back to map view.
- Choose location units. You can choose between decimal degrees, sexagesimal degrees, and UTM coordinates. The units selected here will be those that are applied in the reports that are exported.
- Share location. To send the location via messaging, mail, or cloud storage.
- North direction. If pressed, the base map will be oriented north aligned with the device screen.
The window includes a map of the sky with the position of the satellites in view. Clicking on any of the satellites displays an information window with the data of the selected satellite (constellation to which it belongs, id, signal strength, azimuth and elevation).
|
After selecting the option to import mapping from the main menu, the default file manager of the device opens, letting you to select a DXF file to import. You can choose even stored in your Google Drive account.
The application does not support importing some of the DXF entities, such as hatches, ellipses, and splines, as well as lineweight and linetype. New entities will be rolled out in later versions.
After selecting a DXF file, the Datum Change window opens, in which you can choose the reference datum of the mapping collected in the selected DXF file.
The app will change datum to WGS84, which is the base map reference datum (Google Maps datum).
For better accuracy in the overlapping of DXF data, it is preferable that the source datum of the DXF data be WGS84 or ETRS89 (WGS84 and ETRS89 can be considered equal at the decimetric level), since in this case the application will not need to perform the datum change, avoiding the precision errors inherent in the datum change process.
The application has support for importing DXF files with geolocated data in UTM coordinates referring to the main datums around the world, having implemented 270 datums in total.
| |
The requested data must be completed in this window by selecting the following mapping data to be imported:
- The datum or region of the source DXF file.
- The hemisphere (North or South).
- The time zone (1 to 60).
Each datum spans a particular region, so when you choose a datum, the region is automatically selected as well, and vice versa. When you unfold the datums list, it will be displayed in alphabetical order. If, on the other hand, the list of regions is displayed, it will be this that is shown in alphabetical order.
In this way you can select the source datum in two ways; either by searching the list of datum names, or by searching the list of regions of the world.
Once the data entry is complete, the OK button is pressed and the application will proceed to read the file and display the map view, drawing the imported mapping on top of the background map, as you can see in the image below, showing the project of a highway superimposed on the satellite image of the area where the highway will be built.
|
This window includes a list of photos from the selected project, and controls for adding, deleting, sorting project photos, and modifying the project name.
As you can see in the following image, each item in the photo list displays a preview of each photo, in addition to the following information:
- Photo number. It's your name or identifier.
- Location of the photo, and azimuth or orientation with which it was taken.
- Creation date.
This window includes the following controls.
Project's name
Clicking on it displays a menu to change the name of the selected project.
Take a picture
This button opens your device's camera so you can take a photo. The app automatically includes the photo obtained in the selected project.
Copy photo
This button opens your device's image gallery so you can choose a photo and include it in your project.
Sort photos
This button opens a menu to sort photos by location, or by age.
Photos list
If you click on any of the photos in the list, the app will open a specific window with the selected photo. This window is described in the geolocated photo window section of this manual.
If you long press on the photo list, the window goes to delete mode, a selection box appears in each photo in the list and a delete button with a trash can icon.
Pressing the delete button deletes previously selected photos using the corresponding selection box, and the window returns to its normal state, regardless of whether any photos have been selected or not.
This option does not delete files from photos in the device's memory.
This window includes a full-resolution image of the selected photo, as well as a tab with all the data associated with it, and controls for editing that data.
You can zoom in on the image, and by swiping left and right over the image, you can change the selected image.
The data shown are as follows:
- Name of photo.
- Photo description.
- Location of the photo: longitude, latitude, time zone and hemisphere, as well as the azimuth, or orientation with which the photograph was taken.
- Date and time of photo creation.
The controls contained in the window are described below.
Share photo
To send the photo via messaging, mail or cloud storage.
To preserve EXIF information for location, orientation and description of the photo, it is not recommended to send it via messaging, since messaging providers usually compress the image files sent in such a way that the EXIF data is deleted from them.
Edit photo description
Displays a menu that allows you to enter a description for the selected photo. It is recommended that you do not enter descriptions longer than 150 or 200 characters, to avoid possible errors in the PDF reports to be exported.
Change geographic coordinate units
Deploy a list to choose one of the following options.
- Decimal degrees (gg,gggg).
- Sexagesimal degrees (gg,mm,ss).
- UTM coordinates (X, Y).
In any case, the coordinates shown refer to the Datum WGS84, which is the reference Datum of the base map.
Modify photo location
Pressing this button opens the map window, in select location mode.
In this mode the map window includes a target in the center of the displayed map. The location marked by the target will be the one selected when the OK button is pressed. If you want to assign an azimuth or orientation to the photo, simply orient the map by sliding a couple of fingers in opposite direction on the map. The azimuth assigned to the photo will be the angle of rotation of the map to the screen of the device.
This procedure can be used to assign or update location and orientation data to any photo. To facilitate the user's reference, the application draws a line between the current position associated with the photo, and the new position that you want to assign to it.
After pressing the OK button, the application returns to the photo window, where the new location and orientation data is already displayed.
As already indicated in this manual, all this data is stored in the same image file through the EXIF standard.