Tag Info

New answers tagged

1

I don't think that GeoTools can manage this out of the box. But the code shouldn't be too hard to knock up to handle your use case. The Image Tutorial will get you started with reading in and writing out geotiffs. There is certainly tiling code available in the new GeoPackage module that might already do what you need. You might also find JAITools (a ...


2

This seems to work for me - I'm using the Admin Boundaries from Natural Earth and a Blue Marble jpeg (with a hand cranked world file) and this code which gives me this image. Without seeing your actual datafiles my suspicion is that you have a tiff file with either no world file or a broken one instead of a geotiff. If that is the case then you should be ...


1

Did you look at all the APIs that come with Oracle Spatial Georaster ? One of them is a Java API that lets you manipulate rasters. See the oracle.spatial.georaster package in http://docs.oracle.com/database/121/SPAJV/toc.htm


1

polyline.splitAtDistance doesn't actually split a polyline. All you have to do is cast your IFeature as IFeatureEdit and use the method IFeatureEdit.Split(). This will create two separate features.


1

The following code zooms to the extent of the polygon in the map then fits the whole page in page layout. This code gets the polygon and rotates it back to the horizontal (approximately 35° in my example) and then zooms to the extent of that rather than the original polygon extent which is much larger if the rectangle is rotated. Public Sub Zoom() Dim ...



Top 50 recent answers are included