Setting a scale range for labels in KML files The 2019 Stack Overflow Developer Survey Results...
How are presidential pardons supposed to be used?
"... to apply for a visa" or "... and applied for a visa"?
How to delete random line from file using Unix command?
How to test the equality of two Pearson correlation coefficients computed from the same sample?
Do working physicists consider Newtonian mechanics to be "falsified"?
What is special about square numbers here?
Python - Fishing Simulator
Semisimplicity of the category of coherent sheaves?
How to split my screen on my Macbook Air?
Is there a writing software that you can sort scenes like slides in PowerPoint?
Is every episode of "Where are my Pants?" identical?
Did God make two great lights or did He make the great light two?
How can I define good in a religion that claims no moral authority?
What are these Gizmos at Izaña Atmospheric Research Center in Spain?
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
Who or what is the being for whom Being is a question for Heidegger?
How did passengers keep warm on sail ships?
I could not break this equation. Please help me
Does Parliament hold absolute power in the UK?
Is this wall load bearing? Blueprints and photos attached
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
does high air pressure throw off wheel balance?
Segmentation fault output is suppressed when piping stdin into a function. Why?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
Setting a scale range for labels in KML files
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)What's next if our KML is too big/complex for the Google Maps API?ArcGIS Label zoom visibilitySet scale dependant labels arcmap 10.3Geoserver SLD for min-max scale range displayDisplaying ArcMap 10.2 labels in KMLPolygon won't label out beyond 1:150,000How to refresh displayed labels after setting properties via ArcObjects?Data defined label position for more than one scale in one layerWhy does a single feature's label not show?How to place labels for varying projects?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS?
If exporting to KML from ArcGIS, I guess the first step is to label the features before exporting (correct me if I'm wrong).
How does one set a scale range for a KML file?
arcgis-desktop arcgis-10.0 labeling kml scale
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS?
If exporting to KML from ArcGIS, I guess the first step is to label the features before exporting (correct me if I'm wrong).
How does one set a scale range for a KML file?
arcgis-desktop arcgis-10.0 labeling kml scale
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Thanks! I'll try this. How do I edit the code of a KML file, though? I know I can right-click the file in Google Earth and copy the code into a text editor, but how do I get the edited code back into the KML file?
– Mhoram
May 18 '13 at 22:53
There is a KML Tutorial that discusses your editing options.
– PolyGeo♦
May 19 '13 at 0:40
And, Layer to KML apparently does not write the label scale.
– Mhoram
May 19 '13 at 3:39
add a comment |
Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS?
If exporting to KML from ArcGIS, I guess the first step is to label the features before exporting (correct me if I'm wrong).
How does one set a scale range for a KML file?
arcgis-desktop arcgis-10.0 labeling kml scale
Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS?
If exporting to KML from ArcGIS, I guess the first step is to label the features before exporting (correct me if I'm wrong).
How does one set a scale range for a KML file?
arcgis-desktop arcgis-10.0 labeling kml scale
arcgis-desktop arcgis-10.0 labeling kml scale
edited Mar 7 '18 at 4:17
PolyGeo♦
53.9k1782246
53.9k1782246
asked May 18 '13 at 19:58
MhoramMhoram
359216
359216
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Thanks! I'll try this. How do I edit the code of a KML file, though? I know I can right-click the file in Google Earth and copy the code into a text editor, but how do I get the edited code back into the KML file?
– Mhoram
May 18 '13 at 22:53
There is a KML Tutorial that discusses your editing options.
– PolyGeo♦
May 19 '13 at 0:40
And, Layer to KML apparently does not write the label scale.
– Mhoram
May 19 '13 at 3:39
add a comment |
Thanks! I'll try this. How do I edit the code of a KML file, though? I know I can right-click the file in Google Earth and copy the code into a text editor, but how do I get the edited code back into the KML file?
– Mhoram
May 18 '13 at 22:53
There is a KML Tutorial that discusses your editing options.
– PolyGeo♦
May 19 '13 at 0:40
And, Layer to KML apparently does not write the label scale.
– Mhoram
May 19 '13 at 3:39
Thanks! I'll try this. How do I edit the code of a KML file, though? I know I can right-click the file in Google Earth and copy the code into a text editor, but how do I get the edited code back into the KML file?
– Mhoram
May 18 '13 at 22:53
Thanks! I'll try this. How do I edit the code of a KML file, though? I know I can right-click the file in Google Earth and copy the code into a text editor, but how do I get the edited code back into the KML file?
– Mhoram
May 18 '13 at 22:53
There is a KML Tutorial that discusses your editing options.
– PolyGeo♦
May 19 '13 at 0:40
There is a KML Tutorial that discusses your editing options.
– PolyGeo♦
May 19 '13 at 0:40
And, Layer to KML apparently does not write the label scale.
– Mhoram
May 19 '13 at 3:39
And, Layer to KML apparently does not write the label scale.
– Mhoram
May 19 '13 at 3:39
add a comment |
1 Answer
1
active
oldest
votes
I think the closest thing to scale dependent layers in KML is Regions.
However, Layer To KML does not write them and I do not think they would support the concept of scale dependent labels. There is a document on KML support in ArcGIS that mentions that regions are not written.
Examples of KML items not supported in exported KML files include
COLLADA, regions, and time spans (animations).
I have a triple-digit number of features (if that's the right terminology) in the KML file, so I don't think it's very practical to write the code in for every single feature. The features, however, are all in one folder, so I wonder if it's possible to put the <Region> tag right after the folder begins and a </Region> tag right before it ends. I suppose I'll have to indent all those thousands of lines between the two tags somehow. Do I have to have a LatLonAltBox to use the maxAltitude tag? Sorry for all these questions, I'm as new to KML as it gets.
– Mhoram
May 19 '13 at 3:49
I'm no KML expert either and, in any event, that sounds like a new question in its own right so is best raised outside of comments.
– PolyGeo♦
May 19 '13 at 3:53
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f61165%2fsetting-a-scale-range-for-labels-in-kml-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think the closest thing to scale dependent layers in KML is Regions.
However, Layer To KML does not write them and I do not think they would support the concept of scale dependent labels. There is a document on KML support in ArcGIS that mentions that regions are not written.
Examples of KML items not supported in exported KML files include
COLLADA, regions, and time spans (animations).
I have a triple-digit number of features (if that's the right terminology) in the KML file, so I don't think it's very practical to write the code in for every single feature. The features, however, are all in one folder, so I wonder if it's possible to put the <Region> tag right after the folder begins and a </Region> tag right before it ends. I suppose I'll have to indent all those thousands of lines between the two tags somehow. Do I have to have a LatLonAltBox to use the maxAltitude tag? Sorry for all these questions, I'm as new to KML as it gets.
– Mhoram
May 19 '13 at 3:49
I'm no KML expert either and, in any event, that sounds like a new question in its own right so is best raised outside of comments.
– PolyGeo♦
May 19 '13 at 3:53
add a comment |
I think the closest thing to scale dependent layers in KML is Regions.
However, Layer To KML does not write them and I do not think they would support the concept of scale dependent labels. There is a document on KML support in ArcGIS that mentions that regions are not written.
Examples of KML items not supported in exported KML files include
COLLADA, regions, and time spans (animations).
I have a triple-digit number of features (if that's the right terminology) in the KML file, so I don't think it's very practical to write the code in for every single feature. The features, however, are all in one folder, so I wonder if it's possible to put the <Region> tag right after the folder begins and a </Region> tag right before it ends. I suppose I'll have to indent all those thousands of lines between the two tags somehow. Do I have to have a LatLonAltBox to use the maxAltitude tag? Sorry for all these questions, I'm as new to KML as it gets.
– Mhoram
May 19 '13 at 3:49
I'm no KML expert either and, in any event, that sounds like a new question in its own right so is best raised outside of comments.
– PolyGeo♦
May 19 '13 at 3:53
add a comment |
I think the closest thing to scale dependent layers in KML is Regions.
However, Layer To KML does not write them and I do not think they would support the concept of scale dependent labels. There is a document on KML support in ArcGIS that mentions that regions are not written.
Examples of KML items not supported in exported KML files include
COLLADA, regions, and time spans (animations).
I think the closest thing to scale dependent layers in KML is Regions.
However, Layer To KML does not write them and I do not think they would support the concept of scale dependent labels. There is a document on KML support in ArcGIS that mentions that regions are not written.
Examples of KML items not supported in exported KML files include
COLLADA, regions, and time spans (animations).
edited Jun 16 '18 at 1:06
answered May 19 '13 at 0:46
PolyGeo♦PolyGeo
53.9k1782246
53.9k1782246
I have a triple-digit number of features (if that's the right terminology) in the KML file, so I don't think it's very practical to write the code in for every single feature. The features, however, are all in one folder, so I wonder if it's possible to put the <Region> tag right after the folder begins and a </Region> tag right before it ends. I suppose I'll have to indent all those thousands of lines between the two tags somehow. Do I have to have a LatLonAltBox to use the maxAltitude tag? Sorry for all these questions, I'm as new to KML as it gets.
– Mhoram
May 19 '13 at 3:49
I'm no KML expert either and, in any event, that sounds like a new question in its own right so is best raised outside of comments.
– PolyGeo♦
May 19 '13 at 3:53
add a comment |
I have a triple-digit number of features (if that's the right terminology) in the KML file, so I don't think it's very practical to write the code in for every single feature. The features, however, are all in one folder, so I wonder if it's possible to put the <Region> tag right after the folder begins and a </Region> tag right before it ends. I suppose I'll have to indent all those thousands of lines between the two tags somehow. Do I have to have a LatLonAltBox to use the maxAltitude tag? Sorry for all these questions, I'm as new to KML as it gets.
– Mhoram
May 19 '13 at 3:49
I'm no KML expert either and, in any event, that sounds like a new question in its own right so is best raised outside of comments.
– PolyGeo♦
May 19 '13 at 3:53
I have a triple-digit number of features (if that's the right terminology) in the KML file, so I don't think it's very practical to write the code in for every single feature. The features, however, are all in one folder, so I wonder if it's possible to put the <Region> tag right after the folder begins and a </Region> tag right before it ends. I suppose I'll have to indent all those thousands of lines between the two tags somehow. Do I have to have a LatLonAltBox to use the maxAltitude tag? Sorry for all these questions, I'm as new to KML as it gets.
– Mhoram
May 19 '13 at 3:49
I have a triple-digit number of features (if that's the right terminology) in the KML file, so I don't think it's very practical to write the code in for every single feature. The features, however, are all in one folder, so I wonder if it's possible to put the <Region> tag right after the folder begins and a </Region> tag right before it ends. I suppose I'll have to indent all those thousands of lines between the two tags somehow. Do I have to have a LatLonAltBox to use the maxAltitude tag? Sorry for all these questions, I'm as new to KML as it gets.
– Mhoram
May 19 '13 at 3:49
I'm no KML expert either and, in any event, that sounds like a new question in its own right so is best raised outside of comments.
– PolyGeo♦
May 19 '13 at 3:53
I'm no KML expert either and, in any event, that sounds like a new question in its own right so is best raised outside of comments.
– PolyGeo♦
May 19 '13 at 3:53
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f61165%2fsetting-a-scale-range-for-labels-in-kml-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Thanks! I'll try this. How do I edit the code of a KML file, though? I know I can right-click the file in Google Earth and copy the code into a text editor, but how do I get the edited code back into the KML file?
– Mhoram
May 18 '13 at 22:53
There is a KML Tutorial that discusses your editing options.
– PolyGeo♦
May 19 '13 at 0:40
And, Layer to KML apparently does not write the label scale.
– Mhoram
May 19 '13 at 3:39