Hi Akin,
1) http://localhost:8080/geoserver/data/generated/cite_Forests.html this is not working sometimes not sometimes every time.
- What version of GeoServer are you running? I think the problem was fixed in 1.3.0-RC4.
2) How can I use GeoServer with an image file(jpeg, gif) as backround, I want to addshapefile on this bacground file
- In a very long roundabout way, yes. It will take some work however. See the GIS world is based on spatial location, latitude-longitude coordinates. Background images need to line up with the overlying geometries, in order to appear correct. This is the case with satelite photographs. The photos are turned into geometries and served up as many background images, each having their own location. These images are rendered first, then the overlying geometries (roads, rivers etc.) are rendered on top. So just having an image in the background, in its simplest form, it not quite feasable.
4) can I use GeoServer without using shapefile
- You sure can. Geoserver supports several data sources: PostGIS, Oracle, Shapefile,
5) is there any more simple open source program written java or jsp
- In terms of web map servers and web feature servers (like GeoServer), there are a couple others out there, most aren't in java. GeoServer is the most scalable and is relatively easy to work with. MapServer is also decent as a web map server but is written in C.
6) I want to write a simple web based program that show an image as background and user select layer(city name, road name..) . and user can zoom in zoom out to final image and also I want to write a text on the image- insert an icon with desired coordinate. I am new GIS, GeoServer, and shapefile as result SHOULD I USE GEOSERVER OR TRY TO WRÝTE SÝMPLE PROGRAM.
- Your web based program is simple up until the point where you want to insert your own icons. Geoserver can handle this, but you will need to design your web interface to create the correct request.
Brent Owens
TOPP
Akin Ozturk wrote:
*/Dear Brent Owens /*
*//* */Again again thank you very much/**//*
*//*
I have help related to follwing topics
1 - http://localhost:8080/geoserver/data/generated/cite_Forests.html this is not working sometimes not sometimes every time
2- How can I use GeoServer with an image file(jpeg, gif) as backround, I want to addshapefile on this bacground file
3- After create a shape file, when I use it with GeoServer, I can insert an icon in this file dynamically 4-can I use GeoServer without using shapefile
5- is there any more simple open source program written java or jsp
6- I want to write a simple web based program that show an image as background and user select layer(city name, road name..) . and user can zoom in zoom out to final image and also I want to write a text on the image- insert an icon with desired coordinate. I am new GIS, GeoServer, and shapefile as result SHOULD I USE GEOSERVER OR TRY TO WRÝTE SÝMPLE PROGRAM.
PLEASE HELP ME! THANKS EVERYBODYHi Akin
Here are the answers to your questions:
1) If I use only shapefiles, I don't need a database?
- Correct. Shapefiles replace the use of a database. However, I still
recommend using a database, but when you feel comfortable.2) How can I use my own shapefile, where should I start and I dont
know
how modify the program, Should I change whole program segments
javascripts, xml, jsp,... files
- Go to this page here for a tutorial on how to add a shapefile to
GeoServer:
http://docs.codehaus.org/display/GEOSDOC/User+Tutorial+Shapefile
You don't need to edit javascript or anything.3) I need some constant shapefiles, I don't know how to create
because I
install the jump but it did not open my .shp file and it use own file
format new task and .jmp, also I need a shapefile which will change
according to new data
- Ah, jump can take some getting used to. To load a shapefile into
Jump,
go to File->Load Dataset. On the top left of the file browsing window
that pops up, make sure the 'Format' drop down list has ESRI
Shapefile
selected. Locate your .shp file and hit 'OK'.
To save out your shapefile, go to File->Save Dataset. On the top
left of
the file browsing window that pops up, make sure the 'Format' drop
down
list has ESRI Shapefile selected. Name your file and make sure it
has a
.shp extension. Hit 'OK'.
- Shapefiles can be edited by yourself using Jump (and other
tools) and
by GeoServer. So they will constantly change.4) Can I create shapefile with java
- You sure can, and there are several ways to do this. You can use
GeoTools and create a new ShapefileDataStore or you can use the JTS
library (http://www.vividsolutions.com/jts/jtshome.htm) to create a
shapefile. The JTS jar should come with Jump.
- I suggest you look around in
org.vfny.geoserver.wfs.responses.ShapeFeatureResponseDelegate.java to
see how shapefiles were used there.Brent Owens
TOPPAkin Ozturk wrote:
> Firstful thank you about your response, I was very happy. Thanks
> Again. I want to ask some questions abour the GeoServer.
>
> 1- If I use only shapefiles, I don't need a database?
> 2-How can I use my own shapefile, where should I start and I
dont know
> how modify the program, Should I change whole program segments
> javascripts, xml, jsp,... files
> 3- I need some constant shapefiles, I don't know how to create
because
> I install the jump but it did not open my .shp file and it use own
> file format new task and .jmp, also I need a shapefile which will
> change according to new data
> 4-Can I create shapefile with java
> */Brent Owens /* wrote:
>
> Hi Akin, I will try to answer your questions:
>
> 1) *how to use shapefile*
> A shapefile is actually 3 files: *.shp, *.dbf, *.shx
> The .shp extension is all the geometries. The .dbf is all the column
> information for each geometry. And I believe the .shx relates
the two
> files together. There are also index files that can be generated for
> shapefiles, which adds another two files.
>
> 2) *how to insert data to mysql*
> Geoserver does support MySql, but we recommend PostgreSQL with
> PostGIS.
> But for converting files from shapefile into MySQL, it is possible
> but I
> have never done it and can't recommend any tools. I did a quick
> search and it yielded some helpful results:
>
http://www.google.ca/search?q=shapefile+to+mysql&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
>
> 3) *how I can create a shapefile*
> Creating a shapefile is relatively easy. You can always export the
> geo
> data from an existing database, or just draw it by hand, if you
> want to
> see what it is like. You can go here for the entire (2004 version,
> much
> more to be added for 2006) Canadian road network in shapefile or GML
> form: http://www.geobase.ca/
> There are some nice, free, tools that will help you create
> shapefiles.
> And they operate much like paint programs:
>
> -JUMP: http://www.jump-project.org/project.php?PID=JUMP&SID=OVER
> I definitely recommend jump for beginners as it works well, and is
> easy
> to use.
>
> -GVSig: http://www.gvsig.gva.es/framesesp.htm
> A similar tool but is also a WFS client. It is still in mid
> development
> so not everything is enabled. But I've used it and it is really
> nice and
> fast, and does do shapefiles. Definitely a tool to keep an eye out
> for.
>
> -UDig: http://udig.refractions.net/confluence/display/UDIG/Home
> UDig is similar to GVSig and has a lot of potential. I have seen
some
> *really* slick things done on it.
>
> 4) *can I use other type file*
> There aren't many commonly used file types (files that live on
> your file
> system) for spatial data. GML is one but its main use is for
> communication of geographic data between services. This page has a
> nice
> introduction to GML:
http://www.xml.com/pub/a/2004/11/24/tourist.html
> I would recommend shapefiles for physical files. But what I
recommend
> most is to use PostGIS: http://postgis.refractions.net/
>
> Brent Owens
> TOPP
>
> Akin Ozturk wrote:
>
> > *I am new user, also I am new gis and shapefile, I dont know
> anything
> > about them. I install GeoServer, everything ok! But*
> >
> > **
> >
> > *I don t have any idea how to use shapefile and how to insert
> data to
> > mysql, how I can create a shapefile, shapefile necessary for
> GeoServer
> > or not, and I can use other type file.*
> >
> > **
> >
> > *Anybody help me!*
> >
> > **
> >
> > *Thanks *
> >
> > **
> >
> > *akin*
> >
>
------------------------------------------------------------------------
> > Yahoo! FareChase - Search multiple travel sites in one click.
> >
>
------------------------------------------------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.
>------------------------------------------------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. <http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3A//farechase.yahoo.com/>