u/Available_Budget_559

▲ 2 r/GIMP

Issues With Using Images in GIMP That Originally Were PDFs

I was able to take a jpg image that was a picture taken of an big old yellowed map. Black lines on what is now yellowed text. I could use threshold to make it just black and white, then Invert to change it to white on a black background, the do a color exchange to make the black areas another color. Then run the invert again to make the background black and the lines and text of the drawing the color. From there I have to do some other steps to georeference it and get that in a format that two different gis systems with some different requirements can use.

I got it figured out for that image. I have some other old map images. These were available online as pdfs. I can open them or import them into GIMP. I've tried as layers, as images, setting the create transparent layer. I've also tried exporting as a jpg or tif and trying those. I wanted to do the same with them, but they behave differently.

I can run threshold and invert and they behave normally. If I try to do the color change. I can turn the black to a color and get white lines, letters, etc on the colored background. But when I try to use invert like with the first image I get white lines and text, etc but the background is white.

It seems there is something about this image. The other images from PDFs act the same way.

Anyone have any ideas what it might be? Is there some sort of command or app (linux) to see about the structure/features of an image to find out what they are?

reddit.com
u/Available_Budget_559 — 19 hours ago

Create Permanent Portable Tiff File

I've tried with GIMP and now Photpea and haven't figured out how to do this.

I have an image of an old map, it is a picture of an old black and white drawing. I want to change the linesis and lettering to one color and the background to black so it is just black and white then change the white to a color and the black to transparent. I can do this with either app.

I can use this to create a georeferenced tiff with qgis, and then export it as a geoferenced tiff. I do have to fiddle with the RGB band settings though to do this.

If I load the exported geofiff into a different gis app it too isn't visible without adjustments and I haven't been able to adjust it as I want it either.

It seems like there may be a different way of saving or exporting this from photopea (or GIMP) so that the image colors, etc and the settings are saved permanently so they will behave the same anywhere they are opened.

If anyone can shed some light on how to do this, the correct terminology for what I am trying to do, etc. I'd appreciate it.

reddit.com
u/Available_Budget_559 — 6 days ago
▲ 3 r/GIMP

Changing Pixels of One Color to Another on a Geotiff

I have a geo tif image that I created a couple years ago. It is yellow lines of an old map with an alpha background. The yellow lines don’t work very well with a base layer I am using now. I just want to change all the yellow pixels to something else.  I seem to always get confused changing colors. I know I ccan edit it with gimp and expert it and select retain as geo and it will still be a geotiff.

I think I may have also done something to sharpen up the image. I set the mode to greyscale and the set color - contrast with contrast at maximum. I now have white pixels and an alpha background.

I’m just going in circles trying color exchange, colorize, color picker and getting nowhere. Anyone have any ideas how to do this? I’m using GIMP 3.2.4.

reddit.com
u/Available_Budget_559 — 10 days ago
▲ 2 r/QGIS

Set Entire Project Extent to Less Than the Extent of some of the Layers In It

I have a project with an area of interest about the size of a county. Some of the layers used in this project are for the whole state or more. If it was just an image file I'd like to just crop it.

I am not wanting to export an image of the project or create a map, but want to limit the extent of the whole project before exporting it to an html format with qgis2webmap.

reddit.com
u/Available_Budget_559 — 19 days ago
▲ 1 r/QGIS

QGIS 4 on Linux Mint Mate 22

I just wanted to add a plugin, but is a qt6 plugin for qgis 4.

I've tried installing 4 by adding the repos, keyrings, etc per the instructions on the qgis site. I uninstalled 3.44 but when I'm done I still get 3.44.

I did some searching and saw flathub mentioned qgis 4.0 is available. Again uninstalled 3.44 and followed their instructions and when it was all done I had 3.28 installed.

I'm getting frustrated and thought it might be best to ask about this and do something else for a while.

reddit.com
u/Available_Budget_559 — 1 month ago
▲ 1 r/QGIS

Having Output of Join Attributes by Location Use the Format and Features of a Drag and Drop Form

I’m getting into new territory for me of qgis. I have learned how to create a drag and drop form that I can add an action to a button and put it on a form to open a URL in a field of the attribute table when I select a point on map with the information tool.

I am now trying to find out how to do this for the temporary layer or output of the join attributes by location tool to get a list of all locations within a polygon.

I have figured out how to create this list. It just creates a temporary layer and temporary is what I need. I really don’t need the layer, just the listing of attributes to see the points contained in the polygon. I have saved the query as python code from the join action and can create an action item for this and I suppose adding an action button to the drag and drop form would be the same as when it was just for points on a map.

It sounds like there is a way to save the style of form and refer to that in the join by location python script, but haven’t found how this is done.

Any tips or pointers on how to do this?

Thanks

reddit.com
u/Available_Budget_559 — 2 months ago
▲ 1 r/QGIS

How to change the format of a field in a qgis attribute table to links?

I created the attribute table initially with a spreadsheet and there were a few columns where the data were links. I suppose when it was converted to csv the links changed to plain text.

I know have the text values for the links for many records in the attribute table. It seems like there would be a way to change the format of those fields to links, but in looking through the editor I only see ways to change individual values in the table.

reddit.com
u/Available_Budget_559 — 2 months ago
▲ 1 r/QGIS

Geocoding - Batches, Services & Adding Coordinates found to Source Table

I have a couple geocoding questions. I have done it before with a company issued Arcvue system and things were all setup and I just needed to import some addresses. I also just wanted to place those addresses on a map. I want to do a little more than just add the points to a map. 

My address lists also includes other information about those addresses. It is to be an attribute table that I would like to be able to select a point or point on the map and bring up the attribute table for that point(s).

I see I need to use a service to get the coordinates to add those addresses as points. I have been able to do this for a small number using the US Census system with MMQGIS. I also see how I can add this data as a delimited layer. After I geocoded that small number of addresses I could then export them.  They export as E/W  all as one string. I could  then add this string to the source table and use general expressions to turn it into a separate column for East and another for West.

I’m new to all of this, but this seems like a long way around to do this. Is there some way to use a service to get the coordinates first in a large batch and add them to the source, then add the source table to the project and do all the geocoding at once? Or at least in large batches. Or add the delimited table to the project first before the coordinates are known and geocode them and then, add all the coordinates as separate E and W coordinates to the table that has been added as a batch?

I could run about a hundred with the Census Service and the Open Street Map/Nomination service. Then later I would get a message not about the number of addresses but the rate it could handle them, but I don’t see any way to set the rate.

Right now a doing this just a few at a time is fine to figure out how it works, but knowing how to do it in larger batches will be important later. I have multiple csv files corresponding to different years. I’d like to have layers for each year so I guess adding them by year would be a good idea. They number of records each year is in the thousands, not millions,

The tabular data tables  also has the year as a part of the data in it. I suppose I could also put them all together to make one table and use something to filter out the parts I want for each layer or to display as an attribute table. I don’t see how I could do something like that with MMQGIS though. 

I also see there is a Google service and I need an API. I’ve run into other things that required a Google API and was able to get an API for some similar sounding service, but it was never the right one. They have many services and they all seem to have similar names. That service does interest me, but I haven’t found any specific instructions where to get the API key either now or in the past for other things.

I realize I’m asking a few different questions. Any help with either would be helpful. It would seem to me that this would all be pretty commonly done. I just haven’t found out much on how to do this. Hopefully I have found out enough to ask the question though.

reddit.com
u/Available_Budget_559 — 2 months ago
▲ 1 r/CX5

Have retractor set with many sizes of brake piston retractor adapters, but I can't find it. Not looking to buy another full set if I can avoid it. Looking for any recommendations of anything that is both cheap and works well for doing this.

I have seen some cube type universal adapters, but I also read they don't necessarily have the right size for whatever the people leaving the review needed.

Looking for some recommendations on what will work on this specific vehicle be it a one size tool or a low priced kit that has the right sized adapter and what that size might be.

reddit.com
u/Available_Budget_559 — 2 months ago