Coder Social home page Coder Social logo

shpexporter's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

shpexporter's Issues

Unicode Strings not correctly exported in the dbf file

Unicode strings are not correctly exported in the shapefile and are replaced by interrogation marks.

GEXF file used

<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft" version="1.2" xmlns:viz="http://www.gexf.net/1.2draft/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.2draft http://www.gexf.net/1.2draft/gexf.xsd">
  <meta lastmodifieddate="2013-12-06">
    <creator>Gephi 0.8.1</creator>
    <description></description>
  </meta>
  <graph defaultedgetype="undirected" mode="static">
    <nodes>
      <node id="593" label="テスト">
        <attvalues></attvalues>
        <viz:size value="10.0"></viz:size>
        <viz:position x="107.39386" y="-395.4266" z="0.0"></viz:position>
        <viz:color r="153" g="153" b="153"></viz:color>
      </node>
      <node id="594" label="test">
        <attvalues></attvalues>
        <viz:size value="10.0"></viz:size>
        <viz:position x="-193.01968" y="-374.38843" z="0.0"></viz:position>
        <viz:color r="153" g="153" b="153"></viz:color>
      </node>
      <node id="595" label="瓦弄庄勐">
        <attvalues></attvalues>
        <viz:size value="10.0"></viz:size>
        <viz:position x="-90.31009" y="435.88666" z="0.0"></viz:position>
        <viz:color r="153" g="153" b="153"></viz:color>
      </node>
    </nodes>
    <edges>
      <edge source="593" target="594">
        <attvalues></attvalues>
      </edge>
      <edge source="593" target="595">
        <attvalues></attvalues>
      </edge>
    </edges>
  </graph>
</gexf>

Resulting DBF file:

Id  Label   gSize   gColor
595 ????    1.0000000000000000000000000000000   999999
594 test    1.0000000000000000000000000000000   999999
593 ???     1.0000000000000000000000000000000   999999

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.