[Qgis-user] trouble getting data from OpenStreetMap

2016-04-28 Thread Stephen Sacks
Please excuse a naive question from a new QGIS user. I have installed QGIS (version 2.14.1-Essen, code revision ea85bef) on my Dell desktop running Windows 7 Home Premium. I've failed on my very first task, namely to create a layer using data from OpenStreetMap. Very carefully following

[Qgis-user] features that represent TWO attributes

2016-05-12 Thread Stephen Sacks
I'm trying to create a layer with features that reflect two attributes. I want each point to be marked by a circle whose (1) color reflects its type (city, town, or suburb), and whose (2) size reflects its population. From layer properties, I first select Style and choose "Categorized" based

Re: [Qgis-user] shapefile of Europe

2017-02-01 Thread Stephen Sacks
To several people who replied to my request for help in finding a shapefile of Europe: Thank You ! You've given me what I need. Steve ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

[Qgis-user] shapefile of Europe

2017-02-01 Thread Stephen Sacks
I would be grateful if someone would tell me where I can get a shapefile for the countries of eastern and western Europe. I want just polygons of country borders. A few major cities would be nice, but I do NOT need streets. I'll want to be able to color each country according to my own list of

[Qgis-user] how to rotate a grid

2019-10-24 Thread Stephen Sacks
Phil -     Thanks for sending that link to a relevant video.  I had trouble using it because of the differences between the 2.8 and 3.0 GUI.  But the video's mention of using moving and rotating tools turned out to help me solve my problem.  Apparently, the "rotation" input box at the bottom

[Qgis-user] how to rotate a grid

2019-10-23 Thread Stephen Sacks
I am using QGIS 3.4.12-Madeira . I have successfully superimposed a grid on my map, using two different methods: (1) View > Decorations > Grid and (2) Vector > ResearchTools > grid . With either method I see the grid just as I want it. My problem comes in rotating the grid _without rotating

[Qgis-user] advice on which CRS to use

2020-05-09 Thread Stephen Sacks
I'm mapping the location of trees and plants along the famous Promenade in Brooklyn, NY.   Above a bottom layer of GoogleSatelliteHybrid, I've drawn polygons representing 35 gardens, and then there are layers for trees in each garden, plants, etc.  The project CRS is EPSG:2263 since having

[Qgis-user] wishing for accurate lattitude/longitude from a cell phone

2020-05-22 Thread Stephen Sacks
the time to follow up with the emails. All the best with your endeavours. ~Neil B. On Fri, May 15, 2020 at 7:52 PM Stephen Sacks <mailto:sack...@earthlink.net>> wrote: Hi Neil,    With your help, I have successfully brought the corners of our gardens back from Pen

[Qgis-user] Qgis does not start after win10 update

2020-12-18 Thread Stephen Sacks
I, too, have been unable to launch QGIS since the recent win10 update.  The message I get is "Could not load qgis_app.dll . . . The specified module could not be found. . . .  Check C:\ProgramFiles\QGIS3.10\bin\qgis-ltr-bin.env  for correct environment paths" I looked at the .env file,

[Qgis-user] On my website, how do I link a photo to a map feature?

2021-04-02 Thread Stephen Sacks
On my website is a map created by qgis2web.  I need advice on how to link map features to photos ( jpg files).  In desktop QGIS I can put file:///C:\[folder]\[subfolder]\[filename] in the attribute table and the user can click on it in the popup. But I don't know how to reference

[Qgis-user] qgis2web doesn't include an aerial view layer

2021-03-10 Thread Stephen Sacks
  I have added to my QGIS project an aerial view from New York City's Dept of Information Techn (DoITT).  My problem is that the output from qgis2web includes all my layers except the aerial view.  DoITT says its maps are "compatible with most JavaScript web mapping libraries such as

[Qgis-user] satellite basemap of New York city for qgis2web

2021-03-06 Thread Stephen Sacks
I want an aerial image from New York City's mapping service (DoITT) to serve as a basemap for my qgis desktop project.  I intend to use qgis2web to put on the web my map of Brooklyn's Promenade gardens.  It seems that I should be able to click  Layer > add Layer > add WMS/WMTS   ,  but I'll

[Qgis-user] satellite basemap of New York city for qgis2web

2021-03-07 Thread Stephen Sacks
Thanks Phil for your reply.  My knowledge of html and Java is minimal.  I need  qgis2web to write it for me.   I got an aerial view from Mapbox  that looks OK with my polygon and point layers in my desktop QGIS.  But qgis2web  crashes unless I select OpenLayers or Leaflet.  When I send the

[Qgis-user] free web host for output of QGIS2web

2021-02-15 Thread Stephen Sacks
I want my map to be available on a free web host. QGIS2web seems to do a good job of preparing it for export.  My base map is Google Hybrid.  Does that mean I must use Google Cloud as web host?   Can I use files created by QGIS2web on other web hosts ?  (Infinityfree,  Byethost,  WordPress,

[Qgis-user] getting a base map from Mapbox

2021-02-18 Thread Stephen Sacks
Hi Jorge,     Thanks for your reply to my request for help in getting a base map from Mapbox.     I'm using QGIS  3.10.12 - A Coruna on a plain vanilla Dell desktop running Windows 10.    When I click on the link in your message my Chrome browser opens a tab showing hundreds of lines of HTML,

[Qgis-user] getting a base map from Mapbox

2021-02-18 Thread Stephen Sacks
For the first time, I'm trying to use a map from Mapbox as a base map in QGIS.  I opened an account at Mapbox.com and made a map there using their "Satellite streets."    I clicked Publish and chose Publicly available.  I copied that map's Style URL and Access token and plugged them and my

[Qgis-user] getting a base map from Mapbox

2021-02-19 Thread Stephen Sacks
  YES !!!    I went back and re-tried several attempts I had made to get a satellite base map from Mapbox.   In every case when I change the "S" in my Mapbox username from uppercase to lowercase it works flawlessly.     Thank you Andrea and Jorge (and Ben Hur and Richard who

[Qgis-user] trouble accessing New York City basemap

2021-08-19 Thread Stephen Sacks
I need an orthoimagery basemap layer for a project involving a public park in Brooklyn, NY.  I'm hoping that what I want is at : https://maps.nyc.gov/tiles/#aerial-layers-tms  . Instructions at:   www.maps.nyc.gov/tiles/#qgis tell me to install a plugin called  " TileLayer Plugin".  I

[Qgis-user] loadNamedStyle

2021-09-13 Thread Stephen Sacks
I'm writing a Python script to load a "qml" style file.  The following two lines work correctly:    lyr1 = iface.activeLayer()    lyr1.loadNamedStyle('xxx.qml') but the following two lines cause an error message:    lyr2 = instance.parameterAsSource(parameters, "INPUT", context)   

[Qgis-user] qgis2web: lost jpg images

2021-10-29 Thread Stephen Sacks
  I'm using qgis2web to move a map from my desktop (QGIS 3.16) to a web host.  It works well except that jpg images, which appear correctly when I click on point features on the desktop, don't appear on the web .  Instead, the web version tries to  execute a link of the form

Re: [Qgis-user] hide attribute from popup window

2022-03-21 Thread Stephen Sacks via Qgis-user
Sebastian Gutwein wrote: If you change it to hidden in the layer properties>attribute form> widget type you won't see it in the identify window or feature form window. The default is text. On Sun, Mar 20, 2022 at 8:18 PM Stephen Sacks via Qgis-user wrote: I would like to limit whi

[Qgis-user] hide attribute from popup window

2022-03-20 Thread Stephen Sacks via Qgis-user
I would like to limit which fields appear in the popup window when I click on a feature.  In the layer's attribute table, I can Hide a field but it still appears in the popup window when I click a feature with the Identify tool. ___ Qgis-user mailing

[Qgis-user] from xxx import zzz

2022-03-28 Thread Stephen Sacks via Qgis-user
Please pardon what may be a dumb question from a self- (half-) taught student of Python.  I often steal fragments of code from the internet (especially including this forum) and sometimes get an error message like  "xxx is not an attribute of yyy" .  My  problem, I think, is a missing  " from

Re: [Qgis-user] action to open an HTML file with arguments

2023-09-10 Thread Stephen Sacks via QGIS-User
Adam -    Thanks for your sage advice.  Prepending file://   solves my problem when the target HTML  file is on my desktop hard drive. The arguments are sent and received correctly.     I still have what turns out to be an unimportant problem when the target  HTML file is on the web (I use a

[Qgis-user] action to open an HTML file with arguments

2023-09-08 Thread Stephen Sacks via QGIS-User
   I want to create a situation where clicking on a feature in a vector layer opens  an HTML file and passes several attributes of the feature to the HTML file.  I have successfully created an action which opens the HTML file, but I can't figure out how to pass the arguments.    My action

[Qgis-user] how to trigger an "action" on a web map

2023-09-30 Thread Stephen Sacks via QGIS-User
In my desktop QGIS project, I define an "action" that opens an HTML page and passes parameters to it.  I will use qgis2web to move the project to a web site and would like the web user to trigger that action by clicking on a feature.  Is there a way to do this?    Steve

Re: [Qgis-user] adding a layer from a zipped file

2022-05-30 Thread Stephen Sacks via Qgis-user
has the same 'base name'. If all that fails: I would create a Feature Request for it (or start using Geopackages ...) Note that using geopackages, you also have 1 file, and you can save style INTO the geopackage (and even put more layers+styles into it etc etc). Regards, Richard Duivenvoorde On

[Qgis-user] adding a layer from a zipped file

2022-05-28 Thread Stephen Sacks via Qgis-user
When I write a layer as a shape file, it appears on my C: drive as six files, all with the same name but different extensions.  Then I zip those six into a single file (xxx.zip).  When I reload that layer from the zip file (Layer > AddLayer > VectorLayer > File > Dataset > xxx.zip), QGIS is

Re: [Qgis-user] adding a layer from a zipped file

2022-05-29 Thread Stephen Sacks via Qgis-user
- Phil *From:*Qgis-user *On Behalf Of *Stephen Sacks via Qgis-user *Sent:* Sunday, 29 May 2022 5:29 AM *To:* qgis forum *Subject:* [Qgis-user] adding a layer from a zipped file When I write a layer as a shape file, it appears on my C: drive as six files, all with the same name but different

[Qgis-user] trouble adding a basemap from a WMTS source

2022-07-04 Thread Stephen Sacks via Qgis-user
My project CRS is EPSG:2263;  all 21 layers were created in this project with CRS   EPSG:2263  , which seems appropriate for a public park in Brooklyn, NY.  If I use Google Satellite Hybrid as basemap, everything looks to be in the right place.  I would like to replace the Google basemap with

[Qgis-user] trouble adding a basemap from a WMTS source

2022-07-06 Thread Stephen Sacks via Qgis-user
It turns out that my problem is not getting the map from New York's DOITT, but in re-projecting it from EPSG:900913 to the project's EPSG:2263.  If I leave it in EPSG:900913 it doesn't disappear.  But I worry that some trouble may result if my basemap has a different CRS from all the other

[Qgis-user] quit() and exit()

2022-05-02 Thread Stephen Sacks via Qgis-user
I would like to terminate a Python script gracefully.  Both quit() and exit() not only abort the script but end the entire QGIS app.  For example, if a file I want to read doesn't exist, the following four lines of code terminate QGIS: filePath = Path(fName) if not filePath.is_file():    

[Qgis-user] quit() and exit()

2022-05-03 Thread Stephen Sacks via Qgis-user
In case there may be someone out there who is interested in my question, below is Asim's answer (with one correction he made).    When run in the Python console, this code causes execution of the script to stop and a window to pop up titled "Execution error" with my explanatory message.  And,

Re: [Qgis-user] mysterious polygon

2023-06-10 Thread Stephen Sacks via QGIS-User
ttps://docs.qgis.org/3.28/en/docs/user_manual/map_views/map_view.html#interaction [1] https://docs.qgis.org/3.28/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#digitizing-an-existing-layer Le 11 juin 2023 01:22:43 GMT+02:00, Stephen Sacks via QGIS-User a écrit 

[Qgis-user] mysterious polygon

2023-06-10 Thread Stephen Sacks via QGIS-User
My intention was to create a new vector layer consisting of several polygons.  I used the CreatePolygon tool to mark the four vertices of a rectangle.  I must have done something wrong because I've ended up with a polygon that seems to belong to no layer.   In desperation I ran the following

[Qgis-user] trigger action in qgis2web

2023-12-02 Thread Stephen Sacks via QGIS-User
In my desktop QGIS I have a short Python script that opens an HTML page including arguments (attributes of the selected feature).  When I use QGIS2web to put the  project on the web, I would like the user to trigger that action when he/she clicks on a feature.  I would be grateful for advice