Convert CUP to SHP
Turn CUP files into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop CUP files on the dialor turn it to pick what to do
Your waypoints as a zipped shapefile.Points, lines and polygons each get their own shapefile, in the source's coordinate system.
What you get
The result is one zip with a shapefile for each kind of geometry found among points, lines and polygons. Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts.
Coordinates stay in the source's coordinate system. The attributes are written as UTF-8 columns.
How features are mapped
Waypoints become points, routes become lines, and tracks become multilines with a part for each segment. Every route point and track point also becomes a point of its own. These points carry their time in UTC and the values the device logged with them, such as satellites, heart rate as hr and cadence as cad.
A layer column names where each feature comes from: waypoints, routes, tracks, route_points or track_points. The track_fid and route_fid columns tie each point to its track or route.
Heights stay in the shapes as Z and in the ele column of points.
What changes
Column names are cut to 10 characters. The track_seg_id, track_seg_point_id and route_point_id columns become trksegid, trksegptid and rteptid.
A shapefile has no type for times, so times become text. Lists and nested values become JSON text.
Features without a geometry are left out. Columns that no feature fills are left out too.
CUP and SHP.What each format is.
The formats
SeeYou CUP
SeeYou waypoint files of turnpoints and airfields that gliding and paragliding flight computers load.
- Extensions
- .cup
- MIME type
- application
/x -seeyou -cup - Kind
- Text and data
Shapefile
Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.
- Extensions
- .shp.zip .shz .shp
- MIME type
- application
/x -shapefile +zip - Kind
- Text and data
In your code.The same CUP to SHP conversion through the API, for your app or your agent.
$ cv convert report.cup report.shp.zip$ cv convert report.cup report.shp.zipQuestions.What people ask about CUP to SHP.
Yes. Heights stay in the shapes as Z and in the ele column of points.
A shapefile limits column names, so they are cut to 10 characters. Track_seg_id, track_seg_point_id and route_point_id become trksegid, trksegptid and rteptid.
Read the layer column. It holds waypoints, routes, tracks, route_points or track_points. The track_fid and route_fid columns link each point to its track or route.
Yes, as text, since a shapefile has no type for times. The points made from route and track points carry their time in UTC.