openlab / OGDI-DataLab

Open Government Data Initiative
http://ogdi.codeplex.com
Microsoft Public License
57 stars 17 forks source link

ConfigTool usage - no way to make it running like v2.0 #24

Closed augurarte closed 12 years ago

augurarte commented 12 years ago

In version 2.0 the ConfigTool prepared your Storage accounts to run the application against your own datasets, in this version there are several errors related to this configuration. Firs it only runs properly against Storage account and original service (ServiceURI) and if you use your own service browser URI you will get always the same error (due an exception because it can'not find the model (table sotorage with the curren configuration).

Documentation in the wiki area is confusing, mixing concepts and names that doesn't exist in the current version (4 or 5). InteractiveSDK is the name of the namespace but not the projects, and the page of the Service Topology is confusing either due there is like a Hosted Service for the Data Service but in the real solution this is included into the Web Role (DataBrowser)

Is there any way to create and configure Table Storage using our accounts and load only our datasets or is only available for using the current datatasets and configurations from http://data.govdata.eu

remiolivier commented 12 years ago

To load only your datasets :

The ServiceURI has to be based on your hosted DataService project typically http://[name].cloudapp.net:8080/v1/ in v5 in order to display your datasets.

About names confusion a new documentation is coming explaining in details the steps to configure and run OGDI DataLab with your own datasets.

augurarte commented 12 years ago

Thanks Remiolivier,

javimaravillas commented 12 years ago

Hi, I´m debuging with Augurate and in the file CsvEntityProducer.csv on line 227, when its try to get the xml tag of the cfg (that the dataloadergui generates), its get that empty because is empty, here is the a few lines of the autogenerated cfg file:

LATIT LONG

Could you say to us, what it expected to be in that tag?

Its fails when you set the option Bind to Maps, and the exception is in the line 232 of that file:

placemark.Add(new XElement( XNamespace.Get(DataLoaderConstants.NsKmlNew) + DataLoaderConstants.ElemNameName, new XCData(string.Format(_params.PlacemarkParams.NamePropertyFormatString ?? "{0}", names))));

NamePropertyFormatString and names is empty, so It launch the exception because name is empty, that it is empty because the tag is empty.

Could you explain the behaviour or give a valid cfg file. With a valid CFG file, we could do this with the DataLoaderConsoleApp utility ;)

Thanks

javimaravillas commented 12 years ago

Hi, We finally do this stuff!!! You have to set up a Text in the Map "Push Pin Text To", if not, it would fails.

I expected this could be for help for anyone else!

remiolivier commented 12 years ago

By default the checkbox "Bind to map" is active so you need to set up a text for pushpins that will be displayed on map. A dropdownlist appears if you click to a specified row on the "Push pin mapping" column. By selecting a value you can report it to the text field : "{0}
{1}" for example.

You can also disable "Bind to map" so you don't need to set up a text and the map will not appear on OGDI DataLab. This option is usefull especially when there is no coordinates in a csv, you prefer the users create custom formats or some coordinates are invalid but you need to upload them.

nikg commented 12 years ago

@remiolivier Remi, should we change the "Bind to map" behavior to be unchecked by default? I think this has been an issue for folks unfamiliar with the DataLoader, as it's not intuitive when it's checked (and no lat/lon values are present).

Nik

remiolivier commented 12 years ago

Yes it looks like a common mistake for people even for those who are familiar with the DataLoader