Skip to content
Commits on Source (5)
Metadata-Version: 1.1
Metadata-Version: 1.2
Name: pyshp
Version: 2.0.0
Version: 2.0.1
Summary: Pure Python read/write support for ESRI Shapefile format
Home-page: https://github.com/GeospatialPython/pyshp
Author: Joel Lawhead
Author-email: jlawhead@geospatialpython.com
License: MIT
Download-URL: https://github.com/GeospatialPython/pyshp/archive/2.0.0.tar.gz
Description-Content-Type: UNKNOWN
Download-URL: https://github.com/GeospatialPython/pyshp/archive/2.0.1.tar.gz
Description-Content-Type: text/markdown
Description: # PyShp
The Python Shapefile Library (pyshp) reads and writes ESRI Shapefiles in pure Python.
......@@ -882,7 +882,7 @@ Description: # PyShp
**Shapefiles with measurement (M) values**
Measured shape types are shapes that include a measurement value at each vertice, for instance speed measurements from a GPS device.
Measured shape types are shapes that include a measurement value at each vertex, for instance speed measurements from a GPS device.
Shapes with measurement (M) values are added with following methods: "pointm", "multipointm", "linem", and "polygonm".
The M-values are specified by adding a third M value to each XY coordinate. Missing or unobserved M-values are specified with a None value,
or by simply omitting the third M-coordinate.
......@@ -913,7 +913,7 @@ Description: # PyShp
**Shapefiles with elevation (Z) values**
Elevation shape types are shapes that include an elevation value at each vertice, for instance elevation from a GPS device.
Elevation shape types are shapes that include an elevation value at each vertex, for instance elevation from a GPS device.
Shapes with an elevation (Z) values are added with following methods: "pointz", "multipointz", "linez", and "polygonz".
The Z-values are specified by adding a third Z value to each XY coordinate. Z-values do not support the concept of missing data,
but if you omit the third Z-coordinate it will default to 0. Note that Z-type shapes also support measurement (M) values added
......@@ -1065,11 +1065,46 @@ Description: # PyShp
Linux/Mac and similar platforms will need to run `$ dos2unix README.md` in order
correct line endings in README.md.
# Contributors
```
Atle Frenvik Sveen
Bas Couwenberg
Casey Meisenzahl
Charles Arnold
David A. Riggs
davidh-ssec
Evan Heidtmann
geospatialpython
Hannes
Ignacio Martinez Vazquez
Jason Moujaes
Karim Bahgat
Kyle Kelley
Louis Tiao
Marcin Cuprjak
Micah Cochran
Michael Davis
Michal Čihař
Mike Toews
Nilo
Paulo Ernesto
Raynor Vliegendhart
Razzi Abuissa
Ross Rogers
Ryan Brideau
Tobias Megies
Tommi Penttinen
Uli Köhler
Zac Miller
```
Keywords: gis geospatial geographic shapefile shapefiles
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >= 2.7
......@@ -872,7 +872,7 @@ various other types of geometries as well, including complex 3D surfaces and obj
**Shapefiles with measurement (M) values**
Measured shape types are shapes that include a measurement value at each vertice, for instance speed measurements from a GPS device.
Measured shape types are shapes that include a measurement value at each vertex, for instance speed measurements from a GPS device.
Shapes with measurement (M) values are added with following methods: "pointm", "multipointm", "linem", and "polygonm".
The M-values are specified by adding a third M value to each XY coordinate. Missing or unobserved M-values are specified with a None value,
or by simply omitting the third M-coordinate.
......@@ -903,7 +903,7 @@ Shapefiles containing M-values can be examined in several ways:
**Shapefiles with elevation (Z) values**
Elevation shape types are shapes that include an elevation value at each vertice, for instance elevation from a GPS device.
Elevation shape types are shapes that include an elevation value at each vertex, for instance elevation from a GPS device.
Shapes with an elevation (Z) values are added with following methods: "pointz", "multipointz", "linez", and "polygonz".
The Z-values are specified by adding a third Z value to each XY coordinate. Z-values do not support the concept of missing data,
but if you omit the third Z-coordinate it will default to 0. Note that Z-type shapes also support measurement (M) values added
......@@ -1055,4 +1055,36 @@ $ python shapefile.py
Linux/Mac and similar platforms will need to run `$ dos2unix README.md` in order
correct line endings in README.md.
# Contributors
```
Atle Frenvik Sveen
Bas Couwenberg
Casey Meisenzahl
Charles Arnold
David A. Riggs
davidh-ssec
Evan Heidtmann
geospatialpython
Hannes
Ignacio Martinez Vazquez
Jason Moujaes
Karim Bahgat
Kyle Kelley
Louis Tiao
Marcin Cuprjak
Micah Cochran
Michael Davis
Michal Čihař
Mike Toews
Nilo
Paulo Ernesto
Raynor Vliegendhart
Razzi Abuissa
Ross Rogers
Ryan Brideau
Tobias Megies
Tommi Penttinen
Uli Köhler
Zac Miller
```
VERSION 2.0.1
2018-11-05
* Fix pip install setup.py README decoding error.
VERSION 2.0.0
2018-09-01
......
pyshp (2.0.0+ds-1~exp2) UNRELEASED; urgency=medium
pyshp (2.0.1+ds-1~exp1) experimental; urgency=medium
* Update setup patch to implement upstream suggestion.
* Team upload.
* New upstream release.
* Drop setup-py2.patch, applied upstream.
-- Bas Couwenberg <sebastic@debian.org> Mon, 05 Nov 2018 13:00:50 +0100
-- Bas Couwenberg <sebastic@debian.org> Wed, 07 Nov 2018 17:35:16 +0100
pyshp (2.0.0+ds-1~exp1) experimental; urgency=medium
......
Description: Fix setup.py failure with Python 2.7.
I: pybuild base:184: python3.5 setup.py clean
Traceback (most recent call last):
File "setup.py", line 6, in <module>
long_description=open('README.md').read(),
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 37236: ordinal not in range(128)
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/GeospatialPython/pyshp/pull/171
Applied-Upstream: https://github.com/GeospatialPython/pyshp/commit/e1983dc883448ac16028ef383da73b3f223255e2
https://github.com/GeospatialPython/pyshp/commit/1e8838d4e44a366b2d4c162fdad2f9e3df18c0af
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,16 @@
from setuptools import setup
+
+def read_file(file):
+ with open(file, 'rb') as fh:
+ data = fh.read()
+
+ return data.decode('utf-8')
+
setup(name='pyshp',
version='2.0.0',
description='Pure Python read/write support for ESRI Shapefile format',
- long_description=open('README.md').read(),
+ long_description=read_file('README.md'),
author='Joel Lawhead',
author_email='jlawhead@geospatialpython.com',
url='https://github.com/GeospatialPython/pyshp',
from setuptools import setup
def read_file(file):
with open(file, 'rb') as fh:
data = fh.read()
return data.decode('utf-8')
setup(name='pyshp',
version='2.0.0',
version='2.0.1',
description='Pure Python read/write support for ESRI Shapefile format',
long_description=open('README.md').read(),
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
author='Joel Lawhead',
author_email='jlawhead@geospatialpython.com',
url='https://github.com/GeospatialPython/pyshp',
download_url='https://github.com/GeospatialPython/pyshp/archive/2.0.0.tar.gz',
download_url='https://github.com/GeospatialPython/pyshp/archive/2.0.1.tar.gz',
py_modules=['shapefile'],
license='MIT',
zip_safe=False,
keywords='gis geospatial geographic shapefile shapefiles',
python_requires='>= 2.7',
classifiers=['Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'])
......@@ -2,12 +2,11 @@
shapefile.py
Provides read and write support for ESRI Shapefiles.
author: jlawhead<at>geospatialpython.com
date: 2018/09/01
version: 2.0.0
version: 2.0.1
Compatible with Python versions 2.7-3.x
"""
__version__ = "2.0.0"
__version__ = "2.0.1"
from struct import pack, unpack, calcsize, error, Struct
import os
......