Tag Info

New answers tagged

1

I think the comments on this question are worth placing into an answer which I'll make Community Wiki: Try applying the spatial reference to the shape -- poly = arcpy.Polygon(ar,wgs) – Vince Jun 25 at 12:08 Yes, I would do as Vince says and add a spatial reference, otherwise the polygon has no idea where it is supposed to be. Also, you can ...


0

Still having trouble converting SHP to GPX, had it work once and ever again. I created the name field (seen below) and copied the folder into my Garmanin 64 via copy and past but it shows up blank. The one time it worked was with random points, now I am trying to get it to work with a grid In the post above I checked skip attribute creation and forced gpx ...


0

I think I see your problem. You are grouping points (to make tracks) using gps.ogc_fid, but that gives you a single point in each track. You need to group using gps.track_fid: SELECT gps.track_fid, tracks.name, ST_Length_Spheroid(ST_MakeLine(gps.wkb_geometry), 'SPHEROID["WGS 84",6378137,298.257223563]') AS track_len FROM ( ...


3

You can add the simplify-proportion option --simplify-proportion 0.999999 The parameter represents the proportion of points being kept (https://github.com/mbostock/topojson/wiki/Command-Line-Reference), so you want it at 1. However it needs to be under 1 so you need to make it close enough to 1 (depends on your input data) I am not sure the amount of ...



Top 50 recent answers are included