Git Product home page Git Product logo

Comments (3)

qqnluaq avatar qqnluaq commented on September 16, 2024

I presume this integration would take the form of tools for loading geomarks and saving geomarks.
These could be the same tool.
An example of how this could be implemented is shown at https://portal.nrs.gov.bc.ca/cwmc-lib/v1.9.0/sdk/examples/showcase/:
image
The import and export tools in CWM support more formats besides Geomark.

Loading a geomark:

  1. get URL from user
  2. get a layer title from user
  3. let user select the style for displaying the geometry (stroke color, fill color, marker shape, ...?)
  4. load geometry and place on map using the selected style
  5. add geomark layer to layer list in a folder. The name of the folder, and its placement in the layer list determined by configuration.

Saving a geomark:

  1. Identify the target geometry to save. There are 2 possible sources: the selection tool or the markup tool.
  2. submit geometry to geomark service
  3. present user with the geomark URL that the service returns.

I'll estimate 5 days for this work

from smk.

qqnluaq avatar qqnluaq commented on September 16, 2024

For this tool to be useful, the geometry sources must be functional.
The selection tool can grab the geometry from a feature on the map, but offers no way to edit or otherwise manipulate that geometry.
The markup tool allows you draw on that map, and thats it. The geometry drawn is not organized in any way. There is no styling possible. You can edit the geometries however.

I propose some improvements to markup & selection:

  1. a way organize markup geometries. A folder in the layer list that contains all markup objects is probably the simplest.
  2. a way to copy the geometry of a feature in the selection to markup

estimate 3 days for this work

from smk.

michaelpnelson avatar michaelpnelson commented on September 16, 2024

Geomark functionality was integrated in pull request #147, after which SMK 1.0.7 was released. Closing this issue.

from smk.

Related Issues (20)

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.