{"repo":"stepankuzmin/tilelive-postgis","free":true,"listed":false,"github":"https://github.com/stepankuzmin/tilelive-postgis","clone":"git clone https://github.com/stepankuzmin/tilelive-postgis.git","description":"Implements the tilelive API for generating vector tiles from PostGIS","language":"JavaScript","stars":52,"topics":["mapnik","vector-tiles","postgis","postgresql","tilelive","javascript"],"license":"BSD-2-Clause","category":"databases-storage","readme_excerpt":"tilelive-postgis Implements the tilelive API for generating mapnik vector tiles from PostGIS. Installation Usage If PostgreSQL server running locally and accepting connections on Unix domain socket, you can connect like this: You can also use query parameter to specify sub-query like this: Parameters The only parameter that is not mapnik specific is: parameter value description default :------------------ ---------- --------------- ----------: layerName string name of the layer in resulting tiles. defaults to the table name for backwards compatibility. Actual list of parameters you can see here. parameter value description default :------------------ ---------- --------------- ----------: table string name of the table to fetch. geometry field string name of the geometry field, in case you have more than one in a single table. This field and the SRID will be deduced from the query in most cases, but may need to be manually specified in some cases. geometry table string name of the table containing the returned geometry; for determining RIDs with subselects srid integer srid of the table, if this is 0 then fetching data will avoid an extra database query for knowing the srid of the table 0 extent string maxextent of the geometries determined by querying the metadata for the table extent from subquery boolean evaluate the extent of the subquery, this might be a performance issue false connect timeout integer timeout is seconds for the connection to take place 4 persist connecti","default_branch":null,"files":null,"tree":[],"storefront":"/r/stepankuzmin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stepankuzmin/tilelive-postgis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}