File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- #!/usr/bin/env python
1+ #!/usr/bin/env python3
22# -*- coding: utf-8 -*-
33#
44#
5555
5656provpoly_lyr = mapnik .Layer ('Provinces' )
5757provpoly_lyr .srs = "+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs"
58- provpoly_lyr .datasource = mapnik .Shapefile (file = path .join (root ,'../data/boundaries' ), encoding = 'latin1' )
58+ provpoly_lyr .datasource = mapnik .Shapefile (file = path .join (root ,'../data/boundaries' ))
5959
6060# We then define a style for the layer. A layer can have one or many styles.
6161# Styles are named, so they can be shared across different layers.
280280
281281popplaces_lyr = mapnik .Layer ('Populated Places' )
282282popplaces_lyr .srs = "+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs"
283- popplaces_lyr .datasource = mapnik .Shapefile (file = path .join (root ,'../data/popplaces' ), encoding = 'latin1' )
283+ popplaces_lyr .datasource = mapnik .Shapefile (file = path .join (root ,'../data/popplaces' ))
284284
285285popplaces_style = mapnik .Style ()
286286popplaces_rule = mapnik .Rule ()
You can’t perform that action at this time.
0 commit comments