[talk-ph] Osm separate data store (Fwd:Re: [OSM-talk] POI for Hotel)

2012-04-13 Thread maning sambale
An interesting tech development in the humanitarian osm team. They call it
separate data store (sds) it is a db server that stores additional osm tags
separately from the main osm db. This way, you can add additional tags in
the osm features which are then stored in a separate db.  A josm plugin is
also provided so that editing these tags are similar to josm's editing
workflow.

Some useful applications can be:
1. You are an lgu and wants to collect data from your constituents i.e.
names of residents, demographic info, etc. The address info goes to osm,
the individual info goes to your sds instance.

2. A real state company.  The buildings data goes to osm, specific building
info to sds.

[Insert more here]
-- Forwarded message --
From: Janko Mihelić jan...@gmail.com
Date: Apr 13, 2012 9:21 PM
Subject: Re: [OSM-talk] POI for Hotel
To: openstreetmap t...@openstreetmap.org

SDS (Separate Data Store) is a great solution for this problem

The arhitecture includes one separate server (link to github
repositoryhttps://github.com/geofabrik/sds-server)
and a JOSM plugin. With the plugin you can add private tags to existing
ways and nodes. The tags are stored on your server and are linked to osm
objects.

The announcement and a short description on josm mailing
listhttp://lists.openstreetmap.org/pipermail/josm-dev/2012-March/006099.html
.

Unfortunately, I can't find the plugin in JOSM right now, but that is
probably a temporary problem.

Janko Mihelić

___
talk mailing list
t...@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
___
talk-ph mailing list
talk-ph@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ph


Re: [OSM-talk] POI for Hotel

2012-04-13 Thread Martin Koppenhoefer
Am 13. April 2012 07:14 schrieb Andrew Errington a.erring...@lancaster.ac.uk:
 On Fri, April 13, 2012 12:33, Frans Thamura wrote:
 Option 1: Add all data for all hotels into OSM.  Now you have only one
 database.  But the problem is that some data should probably not be
 entered into OSM.  For example, number of rooms, or price of rooms.


probably this is offtopic in this thread, but the number of rooms
would be an interesting information to roughly tell how important a
hotel is. I would like to have this in OSM. Prices on the other hand
are also of interest if you look for a hotel, but there is currently
no hope to keep this information up to date (and usually there are
lots of prices, dependent on the particular room (view/orientation,
location, size, ...).


cheers,
Martin

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-13 Thread Janko Mihelić
SDS (Separate Data Store) is a great solution for this problem

The arhitecture includes one separate server (link to github
repositoryhttps://github.com/geofabrik/sds-server)
and a JOSM plugin. With the plugin you can add private tags to existing
ways and nodes. The tags are stored on your server and are linked to osm
objects.

The announcement and a short description on josm mailing
listhttp://lists.openstreetmap.org/pipermail/josm-dev/2012-March/006099.html
.

Unfortunately, I can't find the plugin in JOSM right now, but that is
probably a temporary problem.

Janko Mihelić
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-13 Thread Kate Chapman
Hi Frans,

There is a new application that may be of help:
https://github.com/geofabrik/sds-server

It allows linking of OSM data to other information.  In my training
datasets I used rating as an example since that is a subjective idea.

-Kate

On Thu, Apr 12, 2012 at 11:33 PM, Frans Thamura fr...@meruvian.org wrote:
 I just thinking

 Create a web, fill there and save in poi of osm.

 But, what happen if someone has put there.

 Still dunno how to communcate if we have data also in my server that 'must'
 share poi

 On Apr 13, 2012 10:28 AM, Andrew Errington a.erring...@lancaster.ac.uk
 wrote:

 On Fri, April 13, 2012 11:58, Frans Thamura wrote:
  hi all
 
  we just develop team to collect all the hotel information in Indonesia
 
  choice
 
  1. create a hotel database outside openstreetmap
  2. save in openstreet as POI
 
 
  what do u think?
 
  and we will create rating also for the hotel...

 Option 2, then (optionally) cross-reference your database outside of OSM
 with hotel POIs inside OSM.  Alternatively, you can re-generate your
 database by extracting hotel POIs from the OSM database.

 For rating you can use the stars=* tag, but it's probably subjective, or
 not really comparable between countries.

 Best wishes,

 Andrew




 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-13 Thread Janko Mihelić
2012/4/13 Janko Mihelić jan...@gmail.com


 Unfortunately, I can't find the plugin in JOSM right now, but that is
 probably a temporary problem.

 Janko Mihelić


It's not published in JOSM yet, everything is in this pdf:

https://github.com/geofabrik/sds-server/raw/master/doc/sds.pdf


Janko Mihelić
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-13 Thread Jaakko Helleranta.com
+1 for # of rooms. It's pretty much the same as # of parking spots in a parking 
lot, imho.

As per prices I think hotel prices are not _that_ different from toll prices 
(at highways, parking, etc). For hotels, I'd opt for a price range system 
rather than exact prices, though, due to both the range of prices as well as 
price changes over time (due to inflation).
A bit similar as the hotel ranking star system but classes for eg
cheap, inexpensive, mid-range, costly, expensive, shit-expensive?

Cheers,
-Jaakko
http://osm.org/user/jaakkoh

Sent from my BlackBerry® device from Digicel
--
Mobile: +509-37-26 91 54, Skype/GoogleTalk: jhelleranta

-Original Message-
From: Martin Koppenhoefer dieterdre...@gmail.com
Date: Fri, 13 Apr 2012 13:10:22 
To: Andrew Erringtona.erring...@lancaster.ac.uk
Cc: openstreetmaptalk@openstreetmap.org
Subject: Re: [OSM-talk] POI for Hotel

Am 13. April 2012 07:14 schrieb Andrew Errington a.erring...@lancaster.ac.uk:
 On Fri, April 13, 2012 12:33, Frans Thamura wrote:
 Option 1: Add all data for all hotels into OSM.  Now you have only one
 database.  But the problem is that some data should probably not be
 entered into OSM.  For example, number of rooms, or price of rooms.


probably this is offtopic in this thread, but the number of rooms
would be an interesting information to roughly tell how important a
hotel is. I would like to have this in OSM. Prices on the other hand
are also of interest if you look for a hotel, but there is currently
no hope to keep this information up to date (and usually there are
lots of prices, dependent on the particular room (view/orientation,
location, size, ...).


cheers,
Martin

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-13 Thread Frans Thamura
Thx

Will discuss internally, and share soon.
On Apr 13, 2012 8:19 PM, Kate Chapman k...@maploser.com wrote:

 Hi Frans,

 There is a new application that may be of help:
 https://github.com/geofabrik/sds-server

 It allows linking of OSM data to other information.  In my training
 datasets I used rating as an example since that is a subjective idea.

 -Kate

 On Thu, Apr 12, 2012 at 11:33 PM, Frans Thamura fr...@meruvian.org
 wrote:
  I just thinking
 
  Create a web, fill there and save in poi of osm.
 
  But, what happen if someone has put there.
 
  Still dunno how to communcate if we have data also in my server that
 'must'
  share poi
 
  On Apr 13, 2012 10:28 AM, Andrew Errington 
 a.erring...@lancaster.ac.uk
  wrote:
 
  On Fri, April 13, 2012 11:58, Frans Thamura wrote:
   hi all
  
   we just develop team to collect all the hotel information in Indonesia
  
   choice
  
   1. create a hotel database outside openstreetmap
   2. save in openstreet as POI
  
  
   what do u think?
  
   and we will create rating also for the hotel...
 
  Option 2, then (optionally) cross-reference your database outside of OSM
  with hotel POIs inside OSM.  Alternatively, you can re-generate your
  database by extracting hotel POIs from the OSM database.
 
  For rating you can use the stars=* tag, but it's probably subjective, or
  not really comparable between countries.
 
  Best wishes,
 
  Andrew
 
 
 
 
  ___
  talk mailing list
  talk@openstreetmap.org
  http://lists.openstreetmap.org/listinfo/talk
 

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] POI for Hotel

2012-04-12 Thread Frans Thamura
hi all

we just develop team to collect all the hotel information in Indonesia

choice

1. create a hotel database outside openstreetmap
2. save in openstreet as POI

what do u think?

and we will create rating also for the hotel...

F
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-12 Thread Andrew Errington
On Fri, April 13, 2012 11:58, Frans Thamura wrote:
 hi all

 we just develop team to collect all the hotel information in Indonesia

 choice

 1. create a hotel database outside openstreetmap
 2. save in openstreet as POI


 what do u think?

 and we will create rating also for the hotel...

Option 2, then (optionally) cross-reference your database outside of OSM
with hotel POIs inside OSM.  Alternatively, you can re-generate your
database by extracting hotel POIs from the OSM database.

For rating you can use the stars=* tag, but it's probably subjective, or
not really comparable between countries.

Best wishes,

Andrew




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-12 Thread Frans Thamura
I just thinking

Create a web, fill there and save in poi of osm.

But, what happen if someone has put there.

Still dunno how to communcate if we have data also in my server that 'must'
share poi
On Apr 13, 2012 10:28 AM, Andrew Errington a.erring...@lancaster.ac.uk
wrote:

 On Fri, April 13, 2012 11:58, Frans Thamura wrote:
  hi all
 
  we just develop team to collect all the hotel information in Indonesia
 
  choice
 
  1. create a hotel database outside openstreetmap
  2. save in openstreet as POI
 
 
  what do u think?
 
  and we will create rating also for the hotel...

 Option 2, then (optionally) cross-reference your database outside of OSM
 with hotel POIs inside OSM.  Alternatively, you can re-generate your
 database by extracting hotel POIs from the OSM database.

 For rating you can use the stars=* tag, but it's probably subjective, or
 not really comparable between countries.

 Best wishes,

 Andrew




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] POI for Hotel

2012-04-12 Thread Andrew Errington
On Fri, April 13, 2012 12:33, Frans Thamura wrote:
 I just thinking


 Create a web, fill there and save in poi of osm.


 But, what happen if someone has put there.


 Still dunno how to communcate if we have data also in my server that
 'must'
 share poi

Well, it's a classic problem.

If you have one database, then you are probably happy.  But, if this
database does not contain everything you want then you need to link to
your own database somehow.

Now you have two databases.  Which one is correct?

I think you have two options.

Option 1: Add all data for all hotels into OSM.  Now you have only one
database.  But the problem is that some data should probably not be
entered into OSM.  For example, number of rooms, or price of rooms.

Option 2: Link OSM POIs to your own database.  In OSM you can store name,
address, phone number.  In your own database, rating, price, reviews, etc.

To link them together you need something unique in OSM.  You can't use the
node ID because it might change, or a node could be converted to an area. 
You could use the ref=* field,  or webpage (this is probably unique for
each hotel), or a combination of name+addr:housenumber.  You could also
introduce UUIDs, but the proposal for this never really got off the
ground.

Once you have a link you can write a program that extracts all hotel POIs
in Indonesia from OSM and compares them to your own database.  Your
program should produce 3 lists:

1. Hotels in OSM that are also in your database
2. Hotels in OSM that are not in your database
3. Hotels in your list that are not in OSM

List 1 is very boring.  You don't need to do anything.
Hotels in list 2 must be added to your database.
Hotels in list 3 must be added to OSM.  Or maybe they are already there,
so you just need to make the link.

This is a simplified view, but it's the basic technique you need.

Best wishes,

Andrew


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk