Tag Info

Hot answers tagged

2

There are a couple of different ways you can do this, and it will vary depending on the software you are using. But in QGIS you can use the Vector Grid tool, which is found in Vector - Research Tools. The tool allows you to set the extent of your working area based on a layer (in your case the polygon layer) and then output either a line or polygon grid ...


1

Have a look at this documentation of CRS http://docs.geotools.org/latest/userguide/library/referencing/crs.html#well-known-text It is possible to set the CRS from WKT. The documentation says: CoordinateReferenceSystem can also be defined by a text format ((called “Well Known Text” or WKT). This is a standard provided by the OGC and shows up in ...


1

Perhaps the OpenJUMP Jython tool "Rotated Rectangle Tool" can give some inspiration. Code is so short that I copy it all here: # Copyright (C) 2005 Integrated Systems Analysts, Inc. # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License import com.vividsolutions.jts.geom.Coordinate as ...



Only top voted, non community-wiki answers of a minimum length are eligible