MapIt GIS – Spatial Asset Collection, GPS Surveys and Spatial Data Management for Android

Please check out my new app for Android.

More details: http://mapit-gis.com
Get the app from Google Play

– Mobile app for asset collection, data management and environmental surveys.
– Survey layers (point, line, polygon).
– Attributes management.
– Google Maps, Bing Maps, Open Street Map base maps.
– Support for offline maps & Mapbox maps.
– Export, Import, Share (CSV, KML, geojson, arcjson).
– Measurement of the area, perimeter and distance.
– Support for multiple measurement units.
– Support for number of local coordinate systems.

pic1

 

Typical usage: environmental surveys, soil surveys, trees surveys, soil types mapping, mapping ecosystems, contractions, land measurement, real estate mapping, snow removal and many other to discover…

Related article: https://osedok.wordpress.com/2015/02/18/mapit-gis-data-collector

Advertisements

Generating mbtiles from an image

In number of emails I have been asked how to create an offline map from geo-referenced image. Please follow this article to create .mbtiles file ready to use with MapIt from an image. We use open source software to achieve the goal.

You need to have:

Please follow the steps below to get the offline map of Kilimanjaro in format compatible with MapIt:

1. Open qGIS and open a Georeferencer plugin as shown below:

qGIS Georeferencer plugin
qGIS Georeferencer plugin

2. Add your image to the plugin and set the spatial reference – you can use filter typing 4326 in the filter box.

Choose WGS84  spatial reference for your image
Choose WGS84 spatial reference for your image

3. Selecting georeferencing points.

Depending from the type of image you may use 4 or more points to georeference an image.
Zoom to the upper right corner and add point then enter longitude and latitude of that location:

Add lat, lon for the image corner.
Add lat, lon for the image corner.

Add another 3 points. Please make sure, that your working diagonally. In our example it would be: upper left, lower right, upper right, lower left. This will minimize problems according to the visibility of the map during georeferencing it.

Georeferencing points added to the image.
Georeferencing points added to the image.

4. Transformation settings

Before we georeference the image please go to Settings and set Transformation settings as shown on the picture below:

Georeference an image - transformation settings
Georeference an image – transformation settings

5. Georeference the image and add it to qGIS map view to check out if everything is fine.  Go to the used crossings of longitudes and latitudes and compare the shown coordinates with the desired coordinates. If they fit, you are done and ready for next step.

6. Before we use the image in Maperitive we need to convert the wld file (created during the georeference process above in the same location as the image) to georef file used by Maperitive.

Make sure that the number of decimal digits for the cell size is not>17 in georef file, otherwise Maperitive will complain.

Conversion of world file (wld) to georef file
Conversion of world file (wld) to georef file

World file content:

0.00012082694840728
0
0
-0.00012226615739132
37.11882655590969193
-2.90009944643156192

georef file content:

<georef>
<srs>
<id>EPSG:4326</id>
</srs>
<origin>
<x>37.11882655590969193
</x>
<y>-2.90009944643156192
</y>
</origin>
<cell-width>0.00012082694840728
</cell-width>
<cell-height>-0.000122266157391
</cell-height>
</georef>

8. Open Maperitive and type command:

clear-map

then

load-image file=Data\kilimanjaro.png background=false 

Maperitive load-image
Maperitive load-image
Georeferenced file loaded to Maperitive
Georeferenced file loaded to Maperitive

9. Generate .mbtiles file – please type the command below changing the zoom levels if necessary:

generate-mbtiles minzoom=0 maxzoom=15

Generate mbtiles
Generate mbtiles

10. rename the generated file to whatever name you want:

rename

11. Copy the file to the device memory card to MapIt->OfflineMaps folder:

phone offlinemaps

12. If you have MapIt offline maps extension your map will be available and ready to use – enjoy…

Offline Map within MapIt app.
Offline Map within MapIt app.

MapIt – GIS data collector

Last 6 months I have been working on new app. MapIt is now officially out, and available on Google Play, check it out. I am looking for feedback.

MapIt is a survey application. It’s excellent survey tool for any kind of GPS surveys and map based surveys. Spatial data collection (supported points, lines and polygons), asset management and asset surveys can be done faster and in more efficient way.
MapIt can be also used as a quick measurement tool to calculate area or distance.
When registering location simply choose required attributes from defined earlier drop-down list, no need to type the same information over and over again. Import long attributes list from text files if necessary and use them in number of projects. If necessary you can add one or more pictures to each location as well.

If you are you working in the field, gathering large amount of spatial/location based data this app is for you.
Map It is a very useful tool for anyone involved in forestry, agriculture, environmental or farming business and allows quick collection of spatial data without the need of typing similar information number of times.
Speed up your workflow and make the data collection more efficient. Take advantage of survey layers and possibility to reuse same set of attributes for multiple surveys. Export your data to common files like CSV, KML, GeoJSON, ArcGIS JSON and process them further using Desktop GIS software like ArcGIS, ArcGIS Online or open source QGIS and other professional tools like MS Office.

Please visit our website and follow a Walk-Through (sample tree’s survey) to understand better the application workflow.

Support for several global and local coordinate systems: WGS84 (decimal or degrees), Web Mercator, British National Grid, UTM SAD69 (Brazil), UTM NAD83, NATO, Stereo 70 (Romania), System 1992 (Poland), UTM Indian 1975 (Thailand), SIRGAS 2000 UTM coordinate system for South & Latin America, ETRS89 TM06 – Portugal, D73 Modified Portuguese Grid – if you require support for any other spatial reference please get in touch.
Selected features:
– Base maps: Google Maps, Bing Maps, Open Street Map, Mapbox and Offline mbtiles,
– Support for WMS and ArcGIS Server Tiled map services as Google Maps Overlays (Topographic maps, orthophoto maps, geological surveys, cadastral information and number of other country specific free services can be used now together with Google maps as an overlay),
– Possibility to create and maintain sets of attributes – these are available as a drop down lists when new feature is being recorded, long lists of values can be imported from text files.
– Clusters for map markers, efficient way of having large number of points on the map without performance issues,
– Currently 2 methods of collection are supported (GPS location, Map cursor location),
– Possibility to group your data into the survey layers – each survey layer may have a default set of attributes.
– Local SD card export or share option. At the moment KML, CSV, GeoJSON, ArcGIS JSON export is supported,
– Possibility to record multiple points, polylines and polygons on one layer,
– When creating new polygon or line features measurement details like area or length are also available.
– GPS and satellites status,
– Address, location search,
– Import point, line or polygon features into layer from CSV, KML or geojson files.
– Import attributes’ values from file
Our users are successfully using MapIt in number of applications including:
– environmental surveys,
– woodland surveys,
– forestry planning and woodland management surveys,
– agriculture and soils’ types surveys,
– road constructions,
– land surveying,
– solar panels applications,
– roofing and fencing,
– tree surveys,
– GPS surveying,
– site surveying and soil samples gathering

Android Threads, Handlers and AsyncTask – Great Tutorial

Very interesting topic…
It’s important as Android will display an “Application not responding” (ANR) dialog if an activities does not react within 5 seconds. From this dialog the user can choose to stop the application.

Therefore all potentially slow running operations in an Android application should run in the background, e.g. via some way of concurrency constructs of the Java language or the Android framework. Potential slow operations are network, file and database access but also complex calculations.

Tutorial from the link below will teach how to use and handle the background processing….

Android Threads, Handlers and AsyncTask

Re-import Android project issue

Sometimes when you have to re-import the project or some source files on other machine or different eclipse version you may get the following error “The method onClick(DialogInterface, int) of type new DialogInterface.OnClickListener(){} must override superclass method”

The error occurs because Eclipse is defaulting to Java 1.5 and you have classes implementing interface methods (which in Java 1.6 can be annotated with @Override, but in Java 1.5 can only be applied to methods overriding a superclass method).

To fix that:

Go to your project/ide preferences and set the java compiler level to 1.6 and also make sure you select JRE 1.6 to execute your program from eclipse.