Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fields with certain characters failing? #3

Closed
fitnr opened this issue Feb 24, 2017 · 1 comment
Closed

fields with certain characters failing? #3

fitnr opened this issue Feb 24, 2017 · 1 comment
Assignees

Comments

@fitnr
Copy link
Owner

fitnr commented Feb 24, 2017

See ChicagoCityscape/moatp#18

@stevevance
Copy link

The CSS I was using:

/*
 moatp: workflow for creating many maps combining PostGreSQL and OSM geodata
 Copyright (C) 2016 Neil Freeman

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

.slug polygon,
.slug .polygon {
    fill: none;
    stroke: none;
}

.name {
    stroke: none;
    fill: #ff3388 
}
/* Basically any building with a value in the "name" field should be highlighted differently. 

.buildings {
    fill: #D0C6BD;
    stroke: none;
}
.landuse_retail {
	fill: #EFDDBF;
	stroke: none;
}
.amenity_school {
	fill: #ECEECF;
	stroke: none;
}


.parks {
    fill: #C3E9A0;
    stroke: none;
}
.landuse_cemetery {
    fill: #718C6C;
    stroke: none;
}
.landuse_grass {
	fill: #BDFBC0;
	stroke: none;
}

.roads {
    stroke: none;
}

.highway_motorway,
.highway_trunk {
    stroke-width: 4px;
    stroke: #888888;
}
.highway_primary {
    stroke-width: 3.50px;
    stroke: #888888;
}
.highway_secondary {
    stroke-width: 3.00px;
    stroke: #888888;
}
.highway_tertiary {
    stroke-width: 2.25px;
    stroke: #888888;
}
.highway_residential {
    stroke-width: 1.75px;
    stroke: #888888;
}
.highway_cycleway, .bicycle_yes {
    stroke-width: 0.75px;
    stroke: #888888;
}


#water polygon,
#water .polygon {
    fill: #6CC7E6;
    stroke: none;
}

.stops {
    r: 9.7;
    fill: white;
    stroke: #323589;
    stroke-width: 2.75px;
}

.transit {
    stroke-width: 3.50px;
    stroke: #323589;
}
.building_train_station {
	stroke-width: 1.00px;
    stroke: #323589;
}
.tunnel_yes {
	stroke-opacity: 0.70;
}

.amenity_parking {
    fill: lightgray;
}

@fitnr fitnr self-assigned this Mar 24, 2017
@fitnr fitnr closed this as completed Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants