Dashboard > JGrass > Home > howtostart

View Attachments (0) Info

howtostart

Questions on how to start (continuously updated)

(we need this also to do some design)

Q: where do I find the blackboard dedicated to Maps?
Q: were do I find some documentation on how to create a Datastore for coverage? (this probably won't be done right now, since we need to have a quick start to get the JGrass stuff usable first) I remember to have seen something in the past, but I can't find it in the geotools wiki.
Q: how can I do with operations?

    • we will need to implement the OpenMI ILinkableComponent interface to make operations chainable
    • we need to have a list of commands in order to be able to insert them into the console syntax. How am I supposed to call my commands? They need to have a selfexplanatory name.
      For example:
      • raster operations like r.mapcalc, r.to.vect
      • vector operations like v.to.rast, v.dem2contour
      • hydrological operations like h.flowdirections etc. etc.
        They could also be called by reflection, which would make some parts less if based. We used to keep an xml file of the command names and the relative classes.
        Q: how to map projections between UDig and JGrass? Is there a place for the datum transformation parameters in UDig?
        Example for an Italian projection, the epsg 3003:
    • in Grass the projection file is something like:
      name: Transverse Mercator
      proj: tmerc
      datum: rome40
      towgs84: -225.000,-65.000,9.000 (for Sicily for example there are others)
      a: 6378388
      es: 0.0067226700
      lat_0: 0
      lon_0: 9
      k: 0.999600
      x_0: 1500000
      y_0: 0
      no_defs: defined
    • whereas in UDig it is WKT:
      PROJCS["Monte Mario / Italy zone 1",
      GEOGCS["Monte Mario",
      DATUM["Monte_Mario",
      SPHEROID["International 1924", 6378388.0, 297.0, AUTHORITY["EPSG","7022"]],
      AUTHORITY["EPSG","6265"]],
      PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
      UNIT["degree", 0.017453292519943295],
      AXIS["Lon", EAST],
      AXIS["Lat", NORTH],
      AUTHORITY["EPSG","4265"]],
      PROJECTION["Transverse_Mercator"],
      PARAMETER["central_meridian", 9.0],
      PARAMETER["latitude_of_origin", 0.0],
      PARAMETER["scale_factor", 0.9996],
      PARAMETER["false_easting", 1500000.0],
      PARAMETER["false_northing", 0.0],
      UNIT["m", 1.0],
      AXIS["x", EAST],
      AXIS["y", NORTH],
      AUTHORITY["EPSG","3003"]]

A: The only approach seems to be to create a WKT file that comes from the GRASS command: g.proj -w -e


Browse Space
- Pages
- Labels
- Attachments
- Mail
- Bookmarks
- News
- Activity
- Advanced

Explore Confluence
- Popular Labels
- Notation Guide

Your Account
Log In

or Sign Up  

Other Features

View a printable version of the current page.

Add Content


Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki.
Bug/feature request - Contact administrators

User-friendly Desktop Internet GIS