From charlesreid1

No edit summary
No edit summary
Line 25: Line 25:
There's also "Layers," "Workspaces," etc. Not clear what all of this is for, I'm just browsing through it... Geoserver documentation isn't saying much about what these things are. (This is the web interface quick start, after all...)
There's also "Layers," "Workspaces," etc. Not clear what all of this is for, I'm just browsing through it... Geoserver documentation isn't saying much about what these things are. (This is the web interface quick start, after all...)


==Tutorial==
=Tutorial=


Here is a tutorial: http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html
Here is a tutorial: http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html


===Importing Shape Data===
==Importing Shape Data==


Download the NYC roads shape file package linked to in the tutorial.
Download the NYC roads shape file package linked to in the tutorial.
Line 49: Line 49:
Now we keep following the instructions.
Now we keep following the instructions.


===Creating Workspace===
==Creating Workspace==


Still logged into the Geoserver web portal as the admin, we go to Data and Workspaces, on the left hand side menu.
Still logged into the Geoserver web portal as the admin, we go to Data and Workspaces, on the left hand side menu.
Line 55: Line 55:
We pick add a new workspace, name it and populate it following the tutorial instructions [http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html].
We pick add a new workspace, name it and populate it following the tutorial instructions [http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html].


===Creating Store===
==Creating Store==


Followed the tutorial instructions to create a store for NYC roads data...
Followed the tutorial instructions to create a store for NYC roads data...


===Creating Layer===
==Creating Layer==


Created a layer for looking at that map... this is a lot of steps, making for a cumbersome workflow...
Created a layer for looking at that map... this is a lot of steps, making for a cumbersome workflow...

Revision as of 02:23, 2 February 2015

This guide (part 2) picks up where the Geodroplet page (part 1) left off:

http://docs.geoserver.org/stable/en/user/gettingstarted/web-admin-quickstart/index.html

Logging In

Username/Password

Default username/pw are admin/geoserver. First thing I did was change those.

Server Status

Server status page shows some useful info:

GeoserverServerStatus.png

Data

On the left hand side menu, there is a cluster of items labeled "Data".

Here is what "Stores" looks like:

GeoserverStores.png

There's also "Layers," "Workspaces," etc. Not clear what all of this is for, I'm just browsing through it... Geoserver documentation isn't saying much about what these things are. (This is the web interface quick start, after all...)

Tutorial

Here is a tutorial: http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html

Importing Shape Data

Download the NYC roads shape file package linked to in the tutorial.

This goes in the Geoserver data directory. Remember from the Geodroplet page that this is a directory in our Tomcat webapp directory, so the whole thing is at /var/lib/tomcat7/webapps/geoserver/data/data (NOTE THE DOUBLE DATA!).

Move the map data to the Geoserver data directory:

sudo mv nyc_roads /var/lib/tomcat7/webapps/geoserver/data/data/.

You'll also have to change the owner to the Tomcat user:

sudo chown -R tomcat7:tomcat7 /var/lib/tomcat7/webapps/geoserver/data/data/nyc_roads/

Now we keep following the instructions.

Creating Workspace

Still logged into the Geoserver web portal as the admin, we go to Data and Workspaces, on the left hand side menu.

We pick add a new workspace, name it and populate it following the tutorial instructions [1].

Creating Store

Followed the tutorial instructions to create a store for NYC roads data...

Creating Layer

Created a layer for looking at that map... this is a lot of steps, making for a cumbersome workflow...

And finally, the document ends, at an anticlimactic moment. The map isn't that interesting, there are no other satellite or other map layers on it, and I'm not sure what to do with this.

[2]