GithubHelp home page GithubHelp logo

Comments (13)

havatv avatar havatv commented on June 16, 2024

Seems sensible to create a new page for validation. I have created mapfile/validation.txt by reusing some of the things that was already in documentation. The page has not been referenced from other pages yet - we can do that when the page is ready for "publishing". @homme , please feel free to update the new validation page.

from mapserver-documentation.

homme avatar homme commented on June 16, 2024

Thanks @havatv: I'll look at adding another section to the new page which lists existing 'reserved' keys that have special meaning for mapserver e.g. immutable.

from mapserver-documentation.

havatv avatar havatv commented on June 16, 2024

MapServer/MapServer#3599 is related.

from mapserver-documentation.

geographika avatar geographika commented on June 16, 2024

@havatv - is there any reason why the validation page can't be added to the main docs? I was thinking of making a new page for SCALETOKEN also, but not sure if there are conventions on which blocks merit a new page.

from mapserver-documentation.

havatv avatar havatv commented on June 16, 2024

No reason apart from me being unsure that it is ready for publication. If @sdlime and @jmckenna could have a look at it and they agree that it is ready for publication, we can add it to the web site.

from mapserver-documentation.

havatv avatar havatv commented on June 16, 2024

I just tried to find the validation.txt file, but it is not in the mapfile directory. The file can be reconstructed from the commit, but I will wait until we get a response.

from mapserver-documentation.

sdlime avatar sdlime commented on June 16, 2024

@havatv, sorry but what file should I be reviewing? --Steve

from mapserver-documentation.

havatv avatar havatv commented on June 16, 2024

@sdlime, the file is gone, but you will find the contents in the commit (3b8e0da).

from mapserver-documentation.

geographika avatar geographika commented on June 16, 2024

Built page at: https://dl.dropboxusercontent.com/u/29280207/mapserver/mapfile/validation.html

from mapserver-documentation.

sdlime avatar sdlime commented on June 16, 2024

I think the page looks great - the topic certainly warrants the detailed discussion. Two questions:

  1. There is a lot of overlap with the run-time substitution page. Perhaps that page could be more tactical, that is, addressing strategies and use cases with the syntax being in the validation block.
  2. There is a use case not covered in the docs that could (should?) be - setting validation for CGI-based mapfile changes (http://mapserver.org/cgi/controls.html#changing-map-file-parameters-via-a-form-or-a-url). At worst we should reference that content.

Steve

from mapserver-documentation.

havatv avatar havatv commented on June 16, 2024

OK. I will give it a go.

from mapserver-documentation.

havatv avatar havatv commented on June 16, 2024

In the latest commit I added the file and linked it into the documentation. I have not yet adressed @sdlime's two questions yet.

from mapserver-documentation.

havatv avatar havatv commented on June 16, 2024

The validation block now has its own documentation page, and I have added issues for @sdlime's two questions. Closing.

from mapserver-documentation.

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.