:
  • Color Scheme 1
  • Color Scheme 2
  • Color Scheme 3
  • Color Scheme 4
Color1:
Color2:
Color3:
Community
Community

Talk to the Community
or Ask a Question

List of categories
Last Post 17 May 2014 10:19 AM by Reddot. 6 Replies.
    Printer Friendly
    •  
    •  
    •  
    •  
    •  
    Sort:
    PrevPrev NextNext
    You are not authorized to post a reply.
    Author Messages Not Resolved
    Alan HoldingUser is Offline
    New Member
    New Member
    Posts:6


    --
    10 Dec 2012 04:57 PM
      I am working on created a JSON dataset of Points of Interest for Manchester, based on this data: http://opendata.manchesterdda.com/archives/328.

      The data has its own categories for the points of interest. Do I have to map those to an existing list of Citadel categories?
      Leo KallipolitisUser is Offline
      New Member
      New Member
      Posts:7


      --
      10 Dec 2012 06:09 PM
        Hi Alan,

        There is no list of categories for Citadel.
        If you follow the common POI format, then you just have to add the categories of a POI inside the 'category' array of it.
        For example

        "poi":[

        {

        "id":"1",

        "category":[

        "category1","category2",...

        ],

        "title:"POI-Title",

        ...

        }

        ]



        The template will pick them up automatically.


        thanks,

        Leonidas

        P.S. You could also check out the mapping tool in user extensions. It converts CSV's to the citadel json format
        Alan HoldingUser is Offline
        New Member
        New Member
        Posts:6


        --
        10 Dec 2012 07:26 PM
          Thanks. I've followed your advice about the categories.

          I've made a big JSON document with a list of POIs in Manchester. Here's an example document for one POI:

          {
                  "attribute": [
                          {
                                  "term": "Tel", 
                                  "text": "+44 (0)161 998 2117", 
                                  "tplIdentifier": "#Citadel_telephone", 
                                  "type": "tel"
                          }, 
                          {
                                  "term": "url", 
                                  "text": "http://www.manchester.gov.uk/leisur...htm", 
                                  "tplIdentifier": "#Citadel_website", 
                                  "type": "url"
                          }, 
                          {
                                  "term": "E-mail", 
                                  "text": "", 
                                  "tplIdentifier": "#Citadel_email", 
                                  "type": "email"
                          }
                  ], 
                  "category": [
                          "Farm", 
                          "Municipal Park"
                  ], 
                  "id": 412, 
                  "location": {
                          "address": {
                                  "city": "Manchester", 
                                  "postal": "M23 0AB", 
                                  "value": "Wythenshawe Road, Northenden"
                          }, 
                          "point": {
                                  "pos": {
                                          "posList": "53.404683 -2.279476", 
                                          "srsName": "
                                  }, 
                                  "term": "centroid"
                          }
                  }, 
                  "title": "Wythenshawe Park"
          }
          


          I'm just trying to get it to load now. (Goes back and reads the documentation more.)

          Do you want me to upload the Manchester JSON file somewhere so it can be checked for validity?

          Thanks,
          Alan
          Thimo ThoeyeUser is Offline
          New Member
          New Member
          Posts:6


          --
          11 Dec 2012 12:57 PM

            Nice work Alan, would you mind sharing how you did the conversion? And yes, by all means, upload the JSON ;)

            Alan HoldingUser is Offline
            New Member
            New Member
            Posts:6


            --
            11 Dec 2012 02:02 PM

              OK, I'll upload the JSON data when I know I've got it working correctly with my copy of the POIs template.

              As for converting the data, I wrote a quick and dirty Ruby script. I can upload that but not sure where to?

              Leo KallipolitisUser is Offline
              New Member
              New Member
              Posts:7


              --
              11 Dec 2012 04:55 PM

                Hi Alan,

                You can use the User Extensions area to upload your script.


                ReddotUser is Offline
                New Member
                New Member
                Posts:3


                --
                17 May 2014 10:19 AM

                  Alright, I'll transfer the JSON information when I know I've got it working accurately with my duplicate of the PoIS layout. 


                  With respect to changing over the information, I composed a down to business Ruby script. I can transfer that however not certain where to?

                  Please visit us: 

                  You are not authorized to post a reply.


                  About us
                  Citadel Tweets
                  Latest News

                  Open Data Builds Smarter Cities: New Open Data Toolkit Fires Imagination of Government at London Workshop
                  Friday, November 14, 2014
                  Citadel on the Move, a 4M Euro EU-funded Smart City project[i], yester...
                  Read more...

                  Join Us at our Citadel London Workshop to Discover the Future of Open Data in Smart Cities
                  Thursday, October 30, 2014
                  Interested in Open Data? Want to learn more about the latest developme...
                  Read more...

                  Citadel Leads Lively Session at Smart City 2014 in Bologna
                  Wednesday, October 29, 2014
                  Citadel on the Move took Bologna by storm last week as more than 50 de...
                  Read more...

                  Technical Torture or ‘App-y Ever After: Can Open Data Really Build Smarter Cities? New Open Data Toolkit Fires Imagination of Local Government at Flagship European Event
                  Monday, October 27, 2014
                  Brussels, Belgium - Citadel on the Move, a 4M Euro EU-funded Smart Cit...
                  Read more...

                  Grand Paris Seine Ouest goes for Open Data!
                  Tuesday, October 21, 2014
                  On October 20, the Issy-les-Moulineaux town hall hosted a workshop ded...
                  Read more...

                  Grand Paris Seine Ouest se lance dans l'Open Data
                  Tuesday, October 21, 2014
                  La salle multimédia de l'Hôtel de Ville d'Issy-les-Moulin...
                  Read more...

                  Citadel Showcased in Kazakhstan for UN Event!
                  Friday, October 17, 2014
                  Earlier this month Geert Mareels, Citadel’s partner and the mana...
                  Read more...

                  Successful Summer for Citadel
                  Wednesday, October 15, 2014
                  It has been a successful summer for Citadel with over 65 governments a...
                  Read more...

                  Citadel Workshop Fires the Imagination at Open Days 2014
                  Friday, October 10, 2014
                  Citadel on the Move was in Brussels this week leading a workshop at th...
                  Read more...

                  Another innovative app from Issy
                  Friday, September 26, 2014
                  A mobile application has been developed using old postcards published ...
                  Read more...
                  Like us on facebook