mkondratyev85 / raster_tracer

MIT License
65 stars 9 forks source link

Path not making a solid line, only red x's #25

Closed posheadig closed 4 years ago

mkondratyev85 commented 4 years ago

This might be because your vector layer is beneath your raster layer. If it's not the case please give more info

posheadig commented 4 years ago

Thanks for the response. I downloaded your latest zip and updated the qgis plugin for starters. Then I am uploading a geotiff file from https://ngmdb.usgs.gov/topoview/viewer/ into QGIS. I then create new temporary scratch layer, with multilinestring/multicurve geometry type. Set layer to trace as geotiff, make sure vector file is editable, follow pick color steps, but alas it does not create a solid line.

mkondratyev85 commented 4 years ago

I reproduced this issue on my laptop. It looks like the problem is related to the projection. What I advice you is to reproject your desired map to WGS84 and load it in the project with WGS84 as main CS. At least it worked for me.

See https://github.com/mkondratyev85/raster_tracer/issues/12#issuecomment-633977240

posheadig commented 4 years ago

Ok I got it to work now. Yes the projection was the problem. Thank you for explaining.

posheadig commented 4 years ago

Hi again, I noticed that when I switched the CRS to WGS84, the projection no longer supported the correct coordinates... the raster tracer works but spits out a vector file with unusable coordinates. Any thoughts on this?

posheadig commented 4 years ago

Any possibility of adapting the code to work with NAD27?

mkondratyev85 commented 4 years ago

Could you send me your project, including raster layer so I could figure it out on my laptop? mkondratyev85 at gmail.com