Hi all,
the function "Add Image Layer" from
the main-menu "Layer" is missing since OJ 1.3 (new menu-structure).
This function has some advantages to the sextante-raster-images. The
biggest for me is the
availability of the "Change Styles"-dialog via layer-context-menu with
the opportunity to
Hi!
If you just want to load shapefiles, you can use ShapefileReader directly to
load a shapefile into a FeatureCollection.
ShapefileReader reader = new ShapefileReader();
FeatureCollection features = reader.read(new
DriverProperties(shapefilePath));
Layer layer =
Hi,
Don't know if you still want to work inside OpenJUMP wokbench or not,
but here is a very simple example I just picked up from the JTS
discussion list :
String layer = data/tigerline/2009_us_state/tl_2009_us_state.shp;
ShapefileReader reader = new ShapefileReader();
FeatureCollection fc =
Hei,
I think that we have two possibilities for persisting the settings. In
the project file or in the blackboard. Both have pros and cons. What do
you think about it?
I would say blackboard
stefan
--
If I remember correctly,
the old function is used when
a) you use drag an drop
b) use the normal open file option (i.e. not the sextante version) -
as you see from the drop down file types list, it contains image file
formats as well
knowing this.. do you still think that it should be back
Hei Benjamin,
how about not splitting the class (i.e. avoiding to break anything), but
just add the second class for programmatical access? Maybe this could
even go into the core.apitools package.
If you feel like creating such a class, I can add it.
cheers,
stefan
Benjamin Gudehus wrote:
thanks michael,
I add that to the wiki.
Michaël Michaud wrote:
Hi,
Don't know if you still want to work inside OpenJUMP wokbench or not,
but here is a very simple example I just picked up from the JTS
discussion list :
String layer = data/tigerline/2009_us_state/tl_2009_us_state.shp;
Thanks for the help guys! I`ve solved it by the following code:
(maybe there are some things no needed, like options, but it works!!)
DataSource dataSource =
(DataSource)LangUtil.newInstance(StandardReaderWriterFileDataSource.Shapefile.class);
MapString, Object options = new
Hi all,
I have a questian on the standard-functionality of OJ:
Am I right, that it isn't possible to move the labels of a
(polygon-)layer in OJ?
If I want to do that I will have to create a Point-Layer with all the
centroids of the polygons, transfer the labeling-attribute, label the
Hi Nils,
I don't know a simpler way, and I've intended to write this as a plugin
for years, but I haven't gotten around to doing it.
We (SkyJUMP) actually implemented an experimental edit tool to offset text
once. It stored the offsets as 2 int attributes. Wonder where that code
has gone?
Dear Nils
My ChartPlugin can now do this, but it is essentially the same as you
indicate. We can prepare a new Labels layer, select the attribute to
display, and define an (X,Y) offset for the label (from the centroid).
The new layer can then be turned on/off as required. Perhaps the
Sunburned Surveyor,
Sounds great! I'm dual booting Win7 and Ubuntu (haven't upgraded to 10.04
yet). I haven't been using thr linux side for my GIS work because some of
the other applications I'm using don't play nicely with it. I can migrate my
OpenJUMP setup pretty easily though, because all the
12 matches
Mail list logo