<p>This issue tracker is for reporting issues (problems) with osm2pgsql, not for asking general questions about its usage. The help.openstreetmap.org web site would be better suited. The answer to your question is no, because osm2pgsql does not know anything about zoom ranges - for all it knows, you could want to make a map on z1 with buildings on it. But <em>you</em> can use your knowlede about what features will be needed on z1-11 and modify the osm2pgsql lua tag transform file and/or <code>default.style</code> file accordingly, dropping objects and tags you know you will not need. The lowest hanging fruit is probably dropping buildings.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/857#issuecomment-405217265">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7lYLYpYunCKE2GUamJ5OvzBI3h0Sks5uHHgVgaJpZM4VQ8_c">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7iHh9LW-p3PWX9G3l5EzqMfPR0Scks5uHHgVgaJpZM4VQ8_c.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@woodpeck in #857: This issue tracker is for reporting issues (problems) with osm2pgsql, not for asking general questions about its usage. The help.openstreetmap.org web site would be better suited. The answer to your question is no, because osm2pgsql does not know anything about zoom ranges - for all it knows, you could want to make a map on z1 with buildings on it. But *you* can use your knowlede about what features will be needed on z1-11 and modify the osm2pgsql lua tag transform file and/or `default.style` file accordingly, dropping objects and tags you know you will not need. The lowest hanging fruit is probably dropping buildings."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/857#issuecomment-405217265"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/857#issuecomment-405217265",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/857#issuecomment-405217265",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/osm2pgsql] When importing from planet file can I import specific zoom range e.g. 1-11 ? (#857)",
"sections": [
{
"text": "",
"activityTitle": "**Frederik Ramm**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@woodpeck",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"issueId\": 857,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"issueId\": 857\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/osm2pgsql/issues/857#issuecomment-405217265"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 356765660\n}"
}
],
"themeColor": "26292E"
}
]</script>