Reputation
793
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 21
Impact
~36k people reached

Feb
2
answered Geoserver Manager: how to change description of stores?
Feb
2
asked Geoserver Manager: how to change description of stores?
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
Perfect! Many thanks.
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
I understood your point. But when I try to load the reader without explicitly tell the crs, I got this error: No code "EPSG:4326" from authority "EPSG" found for object of type "EngineeringCRS". The offending line is GeoTiffReader tiffReader = format.getReader( geoTiffFile, hint );
Jan
29
accepted How to convert bbox when importing GeoTIFF with Geotools?
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
Yes, I think same way. But I don't know how to do.
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
mar.mil.br/dhn/chm/box-cartas-raster/geotiffs/1geotiff.zip
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
I think I don't know, before start, what is the reference used by the TIFF file. coverage.getCoordinateReferenceSystem2D() will just give me the same I gave using crs= CRS.parseWKT(wkt). The correct steps are: 1) look into TIFF with GDALINFO, 2) create a WKT string ( as you did), 3) Use it as source. I just need a way to get the reference as WKT from TIFF file as GDALINFO do. So I can bypass this annoying step.
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
Almost at same time! You are right at main problem wich is to use the source reference from the TIFF file (I fount it by using GDALINFO). I was using a wrong one ( that must be the target ). But I can't use anything hard coded like your bbox envelope.
Jan
29
answered How to convert bbox when importing GeoTIFF with Geotools?
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
I think I must ask how can I reach -58.999479314465475 from -6345422.834303701
Jan
29
comment How to convert bbox when importing GeoTIFF with Geotools?
The easy way. I think both will solve my problem but the complete reprojection will be more effective.
Jan
28
revised How to convert bbox when importing GeoTIFF with Geotools?
added 1626 characters in body
Jan
28
asked How to convert bbox when importing GeoTIFF with Geotools?
Nov
5
awarded  Notable Question
Nov
1
awarded  Yearling
Sep
8
comment How to label GeoJSON polygons?
Oops! See @Aragon's answer: againstflow said it not work. I do not know why he accepted my answer as it uses basically same method. Sorry.
Sep
8
comment How to label GeoJSON polygons?
Well, that is why I said: You need to know the format leaflet expects to use. RFM. I know nothing about Leaflet and just answered with the GeoJSON part. Apparently worked for the Original Poster. Unfortunately @againstflow did not posted how it worked for him. Remember GeoJSON is standardized.
Sep
3
comment How to label GeoJSON polygons?
Just add the "properties" stuff and all will be fine. See @Aragon answer return feature.properties.color; As you can see, propertiesis a feature attribute and have color as one of its attributes. You can put anything you want into this object following this way.
Sep
1
comment How to label GeoJSON polygons?
And what is a polygon? You'll name as same. The only thing that will change is the "geometry" part. Not only solved the question but received 5 ups until now.