Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Updating geographical bus locations not working.

My main goal is to create an SLD for an area (NSW for example), and update buses and branches based on their geographical location.

Currently, my steps to achieving this are as follows:

  1. Get all bus numbers and their latititude and longitude on excel

    1.1 Scale latitude and longitudes based on a constant (divide by 100 for example)

  2. Map these busses and lats/longs to csv file in this format:

    GEOPHYSICAL

    /BusID, X location, Y location

    100, 50.863N, 90.423W

    101, 50.345N, 80.564W

  3. Save this csv file as .loc (location file)

  4. Open this .loc file in PSSE

  5. Right click sld drawing and click update bus locations.

Im testing this method by creating an sld of around 5 buses and then exporting their *.loc file. I then change a few values on the *.loc file and import it back to the same psse case. My troubles arise when I right click the SLD and click on "update geographical bus locations", where either nothing will happen, or PSSE crashes.

If anybody can shed some light onto why this is happening, I'd be very thankful.

Also, as a side question, has anybody been able to get the google maps SLD background working, everytime I insert an API key retrieved from https://developers.google.com/maps/documentation/javascript/get-api-key, I receive "IMAGE" text all over the SLD rather than the actual map.

Updating geographical bus locations not working.

My main goal is to create an SLD for an area (NSW for example), and update buses and branches based on their geographical location.

Currently, my steps to achieving this are as follows:

  1. Get all bus numbers and their latititude and longitude on excel

    1.1 Scale latitude and longitudes based on a constant (divide by 100 for example)

  2. Map these busses and lats/longs to csv file in this format:

    GEOPHYSICAL

    /BusID, X location, Y location

    100, 50.863N, 90.423W

    101, 50.345N, 80.564W

  3. Save this csv file as .loc (location file)

  4. Open this .loc file in PSSE

  5. Right click sld drawing and click update bus locations.

Im testing this method by creating an sld of around 5 buses and then exporting their *.loc file. I then change a few values on the *.loc file and import it back to the same psse case. My troubles arise when I right click the SLD and click on "update geographical bus locations", where either nothing will happen, or PSSE crashes.

If anybody can shed some light onto why this is happening, I'd be very thankful.

Also, as a side question, has anybody been able to get the google maps SLD background working, everytime I insert an API key retrieved from https://developers.google.com/maps/documentation/javascript/get-api-key, I receive "IMAGE" text all over the SLD rather than the actual map.