Giter Club home page Giter Club logo

scribe's People

Contributors

cbourget avatar samuellapointe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scribe's Issues

Invalid control character

I get the following error when checink out the project and trying to run on Windows. I presume it is due to linebreak characters.

Uncatched syntax error :
Traceback (most recent call last):
  File "C:\MapServer\apps\roads\Scribe\scribe.py", line 655, in main
    jsonToMap(jsonContent, outputDirectory, mapName, clean)
  File "C:\MapServer\apps\roads\Scribe\scribe.py", line 282, in jsonToMap
    data = json.loads(content)
  File "C:\Python27\lib\json\__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "C:\Python27\lib\json\decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Invalid control character at: line 38 column 58 (char 1167)

extension .layer

il faudrait changer le main pour utiliser des fichiers dont l'extension est .layer et construire le inputLayersContent avec la somme des fichiers .layers

if os.path.isfile(inputDirectory + "layers"):
       inputLayersFile = codecs.open(inputDirectory + "layers", encoding='utf8')
       inputLayersContent = inputLayersFile.read()
       inputLayersFile.close()

Indentation

This syntax should work to:

STYLE {
            4-15 { COLOR:'#EEECDF' }
            ...

But we have to close on an other line...?

STYLE {
             4-15{ COLOR:'#EEECDF'
             }
            ...

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.