Land Surveyor

he title is admittedly a bit of clickbait, but I actually managed to implement quite a lot of things.

As a result, there's often no longer a need to go back to the office to process field data. Many things can now be analysed directly on the construction site, using just a phone.

### Writing the code was easier than figuring out what the code should actually do

Implementing a single function sometimes took just an evening. But figuring out all the rules, formulas, edge cases and how everything should work took considerably longer.

Take something as simple as moving along an alignment.

When I worked as a field surveyor, I never worried about how the software calculated stationing and offset. It simply displayed them on the screen. All I had to do was get on with the job.

But when I started implementing the formulas myself (there are plenty of them on the internet), I got stuck on the logic.

What happens if the alignment is shaped like the letter R? Which station should you get, and where exactly, if you're inside that letter? How do you calculate the offset and its sign when the arc sweeps more than 180 degrees?

These were things I had never even thought about on a construction site.

And then there are spiral transitions, or clothoids. That's a whole different level of headache.

Pretty much every little detail turned out to be a separate challenge. Things I had never thought about while working on-site suddenly became problems with an extra degree of difficulty.

Another example: when I was trying to understand how to calculate volumes using triangular prisms between two surfaces, I actually made paper prisms. I simply couldn't keep the entire 3D geometry in my head.

Luckily, I wasn't doing it alone. And this was all before AI became widely available.

Now, even after I've finally figured out a solution in my head, I can spend another hour thinking about how to explain the problem to an AI, rewriting the prompt several times, attaching links to technical documentation and drawing diagrams for it.

Of course, that's what you need to do if you want a decent answer. Simply asking a neural network "calculate this volume for me" will produce, to put it mildly, a poor result.

As they say in IT: **Garbage in, garbage out.**

And even then, everything needs to be checked.

### What's already implemented

The app can calculate volumes between two surfaces (more than two surfaces are not supported yet), generate an earthwork cartogram and export it to DXF, PDF and KMZ.

It can edit terrain surfaces and rebuild triangulation to achieve smoother contours. The resulting surfaces can be viewed in 3D or in AR, where you can walk around and inspect them from different angles. There's also surface drainage analysis.

One particularly useful feature is checking the actual material thickness directly on a road or construction site. The app displays a colour map based on the difference between the actual and design surfaces. As you move along the road, you can see where 3 cm needs to be cut off, where material is missing, or where it might make sense to redistribute material to another section.

You can then generate a PDF report or an Excel table and send it to the person responsible, without even leaving the construction site.

In other words, it's possible to check embankment thickness during the actual site walk, instead of waiting for the data to reach the office, get processed and then be sent back to the site.

The app also supports alignments: it displays the current station and offset as you move, along with your elevation relative to the terrain. You can build and edit longitudinal profiles, interpolate elevations, create cross-sections at arbitrary locations and calculate distances and slopes between two surfaces.

There's even an approximate azimuth calculation using the Sun and Moon. This helps orient yourself on a construction site, because without moving the phone it's not always immediately obvious which direction to go.

### Coordinate systems and data conversion

Obviously, all this analysis is only useful if you can load your data in the local coordinate system.

The app supports custom coordinate systems, or you can simply enter an EPSG code. Around 10,000 coordinate systems from around the world are available offline.

You can also use your own local coordinate system by placing a WKT/PROJ definition file in the app's folder.

The app can also work as a coordinate system converter, with additional translation and rotation adjustments. You can transform point files in TXT or LandXML format into another coordinate system.

It can even take an alignment from LandXML, break it into segments and convert it to KML/GPX, preserving circular curves and clothoid transitions.

### One feature I'm particularly proud of: survey reports

I've often seen people asking for advice after surveying a road at arbitrary locations, only to find out later that they need a proper report with coordinates and elevations at regular, rounded chainage intervals.

Honestly, this isn't a particularly straightforward task even in Civil 3D. You can't always generate such a report with a single click.

In my app, you can :)

### A bit about the development process

The app's architecture was created by an experienced meatbag long before the AI era. I designed most of the core logic, structure and UI myself, drawing on my own experience in surveying and office-based survey data processing.

Only later did I start using vibecoding to add all the features I wanted, particularly coordinate transformations and alignment tools.

So this isn't a case of simply asking a neural network to generate an app from a prompt. Most of the engineering decisions were made long before that. The app itself is almost five years old.

### The well-known problem of the shoemaker without shoes

In theory, the app can receive data from a GNSS receiver over Bluetooth and connect to an NTRIP caster to receive corrections.

I've tested data transmission using an ordinary phone and special software, including the reception of GNSS corrections.

But I currently don't have access to a proper professionalreceiver myself (that's what happens when a former field surveyor turns into an office rat).

So this is one area where I really need some external testing and criticism.

### Where to find more information

I've described everything here rather briefly and in a somewhat messy way. There's a much more detailed user guide on my website, with screenshots and sample files. I've even put together a video course.

The app works completely offline (obviously, receiving RTK corrections requires an internet connection). It doesn't send your data anywhere and contains no ads.

For now, everything is available free of charge.

I'd really appreciate constructive criticism and suggestions for new features, especially from people who actually work with surveying, Civil 3D, GNSS and earthworks.

### What's planned

- Cross-sections improvements.
- Volume calculation inside an arbitrary boundary.
- Raster background map support.

Приложения в Google Play – Earthwork. Volume Measurement

31308957662?profile=RESIZE_710x

 

You need to be a member of Land Surveyors United - Surveying Education Community to add thoughts!

Join Land Surveyors United - Surveying Education Community

Email me when people reply –

Answer As your Facebook Page

Global Surveyor Forum

Latest Discussions by Category

Add Your Expertise

How to Utilize Surveyor Forums

How to use Forums
Our forums on Land Surveyors United are here to be used as much for finding help with problems in the field as the are for you to express your opinions on anything that has to do with land surveying in general. Feel free to share anything that is on your mind, as long as it isn't meant to damage another member's reputation. Please keep it clean and help insure that everyone has the opportunity to enjoy the benefits of being part of a community that grows together.

We are committed to allowing freedom of expression for all of our members, and that includes maintaining a safe space for people with opposing views to express themselves. We get posts from all over the country and even the globe, so needless to say, people come with different viewpoints on lad surveying practices and processes. We see this diversity and variety as a real strength-- dialogue and debate are an integral part of the educational process, as well as an important tool in exploring different sides of complex issues.

All Community Hubs inside the community have their own forum for asking specific questions to other surveyors, by location, equipment type, etc.

Global Forums