GithubHelp home page GithubHelp logo

Comments (5)

PaulWessel avatar PaulWessel commented on July 19, 2024

Yes, you would have to determine which lines to replace since there is very little meta-data in those files. You could use gmtspatial -D to help you find them since they will be near-duplicates at some threshold.

from gshhg-gmt.

Esteban82 avatar Esteban82 commented on July 19, 2024

Ok. I am seeing it. I think I will have no problem to update the data.

What should I do with the header? How should I update it? N = number of vertices? I can't get the meaning of G, L, E, S, A.
> Id=413 N = 553 G = 0 L = 2 E = 180 S = 0 R = 289.758056/292.638611/-32.392500/-31.954722 A = 0

Also, there is a new segment (an small one) which surround the Federal city of Buenos Aires (similar to Washington DC). Should I add the segment?

from gshhg-gmt.

PaulWessel avatar PaulWessel commented on July 19, 2024

Yes, N is number of points, so change that. G means "Greenwich" and I think for all your data it will be the same as it is now (0). if you were doing the UK it may need to be 1. L is just the level, so 2 as it is now. E is 180 for all items except the Eurasia polygon which goes from -15 W to 192 E so we dont want to wrap at 180. Not affecting your data though. S is for source. 0 is WDBII so you might as well set it to S = 1 as (other). R is the tight bounding box for that feature. I use FORMAT_FLOAT_OUT=%.6 I think to get those 6 decimals the right way. A is Area which is 0 for lines.
Yes, you can add another segment. Make sure its Id is unique in that file. Looks like the largest ID is 2011 so 2012 will work.

from gshhg-gmt.

Esteban82 avatar Esteban82 commented on July 19, 2024

Ok. Thanks. I think I will have no problem with that.

Another question. I see that most of the segment fully extends between two provinces. But there are some segments that extends between several provinces (so maybe could be split) and there are others that do not full extends (so it can be joined to another). Is this necessary? I think not. It would the plot perfectly by GMT but I would like to confirm this.

from gshhg-gmt.

PaulWessel avatar PaulWessel commented on July 19, 2024

It just reflects the segmentation of the original data. Yes, it would be better if it only were between two provinces but in the end they are just lines so make little difference I think,

from gshhg-gmt.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.